#include <iostream>
int main()
{
using std::cout;
using std::endl;
short int smallNumber;
smallNumber = 32767;
cout << “smallNumber : ” << smallNumber << endl;
smallNumber++;
cout << “smallNumber : ” << smallNumber << endl;
smallNumber++;
cout << “smallNumber : ” << smallNumber << endl;
smallNumber++;
cout << “smallNumber : ” << smallNumber << endl;
smallNumber++;
cout << “smallNumber : ” << smallNumber << endl;
smallNumber++;
cout << “smallNumber : ” << smallNumber << endl;
return 0;
}
上一篇:使用数字来打印字符