1.cout,cin輸入輸出,getline讀取一行
2.<< >> 賦值到哪一個位置
3.C++處理多國字符應保存爲unicode
4.字符以“/0”結束。
5.C++異常處理方式
try{
...
}
catch(invalid_argument& e)
{
cout <<
e.what() << endl;
}
1.cout,cin輸入輸出,getline讀取一行
2.<< >> 賦值到哪一個位置
3.C++處理多國字符應保存爲unicode
4.字符以“/0”結束。
5.C++異常處理方式
try{
...
}
catch(invalid_argument& e)
{
cout <<
e.what() << endl;
}