   CHAR, Char, char
  hello, just wondering why windows specifies the CHAR and Char? i've looked on msdn but coudnt really find anything. i havent seen Char though although it was more heavily documented than CHAR. basically what's the point? i use pretty much all std::string and its pretty annoying doing this ... (CHAR *) someString.c_str(); everytime i need to pass a string to a windows function.what is the purpose of CHAR and is there any alternitive than nasty  casting when passing strigs to messge box functions etc.thanks.[edit] when i say i coudnt find anything, i mean i coudnt find anything related to the purpose of CHAR. not that i coudnt find info on it [/edit][Edited by - ekrax on November 7, 2004 5:45:54 PM]
  if you look in WINCON.H the Char type is typedef struct _CHAR_INFO {    union {   WCHAR UnicodeChar;   CHAR   AsciiChar;    } Char;    WORD Attributes;} CHAR_INFO, *PCHAR_INFO;A CHAR is just a typedef for an ordinary char.the Char seems to support Multibyte wide charsets (i.e. UNICODE )AFAIK: the c_str() will return a const char* which is what windows functions seem to require, i have no need to cast my c_str to char * for the messageboxA function.   std::string me;   MessageBox( NULL, me.c_str(), _T(""),1);this code works and compiles fine for me.   