摘要:
strcpy(aCString,stringVariable.c_str() ); //合法 aCString = stringVariable.c_str(); //非法 赋值操作符不能用作C字符串 字符操作函数 //#include <cctype> ispunct(Char_Exp) //标点符号 /* 函数toupper和tolower返回int类型 */ char c = toupper('a'); cout << c <<endl; cout << static_cast<char>(toupper(
阅读全文