Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Managed C++/CLI
  4. Right shift/Left shift + 1's compliment concepts

Right shift/Left shift + 1's compliment concepts

Scheduled Pinned Locked Moved Managed C++/CLI
5 Posts 5 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    Nada Adel
    wrote on last edited by
    #1

    Can anyone give the output of this:- i = 10; int j = i >> 10; cout<

    C T N G 4 Replies Last reply
    0
    • N Nada Adel

      Can anyone give the output of this:- i = 10; int j = i >> 10; cout<

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      duh. Why do you want us to ? What's your actual question ?

      Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog

      1 Reply Last reply
      0
      • N Nada Adel

        Can anyone give the output of this:- i = 10; int j = i >> 10; cout<

        T Offline
        T Offline
        toxcct
        wrote on last edited by
        #3

        you might need some binary stuff to learn...


        TOXCCT >>> GEII power

        [VisualCalc 3.0  updated ][Flags Beginner's Guide  new! ]

        1 Reply Last reply
        0
        • N Nada Adel

          Can anyone give the output of this:- i = 10; int j = i >> 10; cout<

          N Offline
          N Offline
          NrmMyth
          wrote on last edited by
          #4

          NULL, every one-bit is shifted of the block.

          1 Reply Last reply
          0
          • N Nada Adel

            Can anyone give the output of this:- i = 10; int j = i >> 10; cout<

            G Offline
            G Offline
            gdoupanguoqing
            wrote on last edited by
            #5

            =1/128+1/512=0.0078125+0.001953125=0.009765625 right or wrong?

            I love this web

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups