//时间:2012年9月25日16:52:58
#include <iostream>
using namespace std;
int main()
{
char c1, c2;
c1 = 'a';
c2 = 'b';
c1 = c1 - 32;
c2 = c2 - 32;
cout<<c1<<' '<<c2<<endl;
return 0;
}
/*
在VC++6.0中运行的结果是:
-----------------------
A B
Press any key to continue
-----------------------
*/
31_字符数据与整数进行算数运算
最新推荐文章于 2022-07-27 22:33:44 发布