Thread: toggle switch
View Single Post
  #14   Spotlight this post!  
Unread 17-01-2006, 17:58
devicenull devicenull is offline
Robot? We need a robot?
no team
 
Join Date: Sep 2004
Rookie Year: 1234
Location: n/a
Posts: 359
devicenull is just really nicedevicenull is just really nicedevicenull is just really nicedevicenull is just really nicedevicenull is just really nice
Re: toggle switch

Nope, char will work fine. In that case he's referring to the size of the data, char uses up less memory then an int. unsigned chars range from 0-255, while ints have a lot bigger range. Since theres no bool or a 0-1 value, char is the smallest