Thread: Array of Booleans Represented with 1 Bit

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Captain - Lover of the C
    Join Date
    May 2005
    Posts
    341
    Not so much as testing, but using already built-in facilities.
    What built-in facilities can I use?
    Indicies?
    Ah ha! No point in having signed integers there.
    Don't quote me on that... ...seriously

  2. #2
    Just Lurking Dave_Sinkula's Avatar
    Join Date
    Oct 2002
    Posts
    5,005
    Quote Originally Posted by Brad0407 View Post
    What built-in facilities can I use?
    Stuff in <limits>, for example.
    7. It is easier to write an incorrect program than understand a correct one.
    40. There are two ways to write error-free programs; only the third one works.*

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 16
    Last Post: 05-29-2009, 07:25 PM
  2. Replies: 2
    Last Post: 07-11-2008, 07:39 AM
  3. 2d array of booleans
    By eklavya8 in forum C++ Programming
    Replies: 9
    Last Post: 06-27-2008, 02:36 PM
  4. bit patterns of negtive numbers?
    By chunlee in forum C Programming
    Replies: 4
    Last Post: 11-08-2004, 08:20 AM
  5. Creating 2D arrays on heap
    By sundeeptuteja in forum C++ Programming
    Replies: 6
    Last Post: 08-16-2002, 11:44 AM