please dont rip this site

language ccpp CREF EXAMPLES enum4

/ ****************************************************************************
 *
 *  Enumeration example: This program will fail to compile because the 
 *  preprocessor will change the FALSE to 1 on the enum statement....
 *
 ****************************************************************************/

#define FALSE 1

main()
{

  enum Boolian_t {FALSE=0, TRUE} Boolian;
    
  printf("False has a value of %d", FALSE);
  printf(" True has a value of %d", TRUE);
}


file: /Techref/language/ccpp/CREF/EXAMPLES/enum4.c, 0KB, , updated: 1997/4/21 09:52, local time: 2012/5/25 07:21,
TOP NEW HELP FIND: 
38.107.179.231:LOG IN

 ©2012 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE! / 

<A HREF="http://www.piclist.com/techref/language/ccpp/CREF/EXAMPLES/enum4.c"> language ccpp CREF EXAMPLES enum4</A>

Did you find what you needed?

 
The PICList mailing list is hosted by MIT and we GRATEFULLY ACKNOWLEDGE the huge bandwidth and server load they sholder for us. If you want this list to continue, please consider contributing to MIT... Every little bit helps them educate the worlds finest minds and justify their expense in running the PICList mailing list.
  'What can I do?' - SiCKO

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .