Thread: size_t vs plain int

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date
    Jul 2012
    Posts
    87
    This might sound weird, but when the range for an unsigned 32-bit integer is 0 to 4294967295, does that mean: in binary: 0 is 32 0's and the base-2 representation of 4294967295 is 32 1's, which implies the largest base-2 that a 32-bit int can represent.
    Last edited by monkey_c_monkey; 07-11-2012 at 05:54 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. plain tree traversal
    By kmel in forum C++ Programming
    Replies: 2
    Last Post: 02-18-2008, 12:15 PM
  2. file i/o and plain old bad luck
    By rokenrol in forum C Programming
    Replies: 7
    Last Post: 07-09-2006, 02:16 PM
  3. plain pong
    By lambs4 in forum Game Programming
    Replies: 16
    Last Post: 10-10-2004, 01:49 PM
  4. Plain Window!
    By Shakespeare in forum Windows Programming
    Replies: 1
    Last Post: 01-20-2002, 12:35 PM
  5. Tabs in a plain Dialog
    By jinx in forum Windows Programming
    Replies: 0
    Last Post: 12-01-2001, 06:29 PM