Language Ccpp Cref Examples Define.c

/ ********************************************************************* 
 *
 * Purpose: Demonstrate the #define pre-processor.
 * Author: M J Leslie
 * Date: 26-Jun-94
 *
 *********************************************************************/
#define EQ ==
main ()
{
				/* the EQ is translated to == by 
				 * the C pre-processor.	COOL!
				 */
 if ( 5 EQ 5 ) printf("define works...\n");
}

file: /Techref/language/ccpp/CREF/EXAMPLES/define.c, 0KB, , updated: 1997年4月21日 09:52, local time: 2025年9月6日 18:15,
40.74.122.252:LOG IN

©2025 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://techref.massmind.org/techref/language/ccpp/CREF/EXAMPLES/define.c"> language ccpp CREF EXAMPLES define</A>

Did you find what you needed?

Welcome to massmind.org!

Welcome to techref.massmind.org!

.

AltStyle によって変換されたページ (->オリジナル) /