can i make a macro return a value ??
something like this..
#define int A_MACRO(X) If (X==1) return 2 \
else return 1;
Thanks in Advance
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 15 of 22
Thread: MacrosThreaded View
|
Click Here to Expand Forum to Full Width |