[CODE] ( 1 << 01)

From: tap3w0rm (tap3_w0rm@attbi.com)
Date: 11/11/02


ok so i am new at codeing c


and i dontunderstand .. after i converted to 128 i saw most of the 
#define Stuff ( 1 << 0 )
#define Stuff ( 1 << 1)
#define Stuff ( 1 << 2 )
#define Stuff ( 1 << 3 )

was replaced with just 
#define Stuff 0 
#define Stuff 1 
#define Stuff 2 
#define Stuff 3

please tell me the diffrence in the 2 ways of doing the defines

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   | Newbie List:  http://groups.yahoo.com/group/circle-newbies/   |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 06/25/03 PDT