Code:
#define MAKE_CHAR(X) #@X
char cVal;
cVal = MAKE_CHAR( R );
MessageBox( CString(cVal),"Charizing Test" );
Output message box:A technical/programming blog on C/C++,VC++,MFC,C#
Free Code snippets, Programming Tips, Software Utilities and many more...
#define MAKE_CHAR(X) #@X
char cVal;
cVal = MAKE_CHAR( R );
MessageBox( CString(cVal),"Charizing Test" );
Output message box:
No comments:
Post a Comment