C++ 最简单例子,看到我想会记起起步的地方
#include <iostream.h>
int main()
{
cout<<"helloworld!";
return 1;
}
ANSI-C++标准 那些头文件叫C++标准库
弄了个DEV C++编译器编辑
1.C++数据类型
char,short int (short),long int (long),wchar_t
重点unsigned无符号 signed 有符号, 变量默认为signed
下面两句相等
unsigned MyBirthYear;
unsigned int MyBirthYear;