Finding CRLF or other Characters in char
-
Hi, iam a beginner to visual c++ and i think i have a simple question: i want to search a character in a char variable. like
switch (&mychar) { case CHR(13): MessageBox("found"); default: MessageBox("Not Found!"); }
In VB i could compare like if mychar = Chr(13) then ... Can anybody call me the functionname of Chr or Ord or ASC in MFC c++ 6.0? Thx alot!! Bye -
Hi, iam a beginner to visual c++ and i think i have a simple question: i want to search a character in a char variable. like
switch (&mychar) { case CHR(13): MessageBox("found"); default: MessageBox("Not Found!"); }
In VB i could compare like if mychar = Chr(13) then ... Can anybody call me the functionname of Chr or Ord or ASC in MFC c++ 6.0? Thx alot!! ByeJust use
case 13: // code
char is numerical type in C++ Igor Green http://www.grigsoft.com Compare It! + Synchronize It! : Files and folders comparison never was easier! -
Just use
case 13: // code
char is numerical type in C++ Igor Green http://www.grigsoft.com Compare It! + Synchronize It! : Files and folders comparison never was easier!