home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The C Users' Group Library 1994 August
/
wc-cdrom-cusersgrouplibrary-1994-08.iso
/
vol_300
/
357_01
/
cstar1.exe
/
MACRO.PP
< prev
next >
Wrap
Text File
|
1991-11-15
|
321b
|
15 lines
#define ZERO no args
#define ONE(a) first actual arg is <a>
#define TWO(a,b) first <a>, second <b>
#define THREE(a,b,c) first <a>, second <b>, third <c>
ZERO;
ONE(arg1of1);
TWO(arg1, "arg 2 of 2 in a string");
THREE(1, "2", (3,of,3));
THREE(this is the first arg, and the second, and the "last" '1');