chartype.cpp
#include <iostream>
int main()
{
using namespace std;
char ch;
cout << "Enter a character: " << endl;
cin >> ch;
cout << "Hola! ";
cout << "Thank you for the " << ch << " character." << endl;
}
转载请注明转自www.hylab.cn,原文地址:C++语言开发示例:12. 字符类型