P41页
讲到变量的名字,即标识符,不能包含两个连续的下划线,也不能以下划线开头后面紧跟一个大写字母。
经我验证,在g++下都能编译通过,不知是不是翻译有错误。
[root@localhost test]# g++ main.cpp -o main
[root@localhost test]# ./main
100
10
1
[root@localhost test]# cat main.cpp
using namespace std;
int main()
{
int __A = 100;
int _Aab = 10;
int a__b=1;
cout << __A <<endl;
cout << _Aab <<endl;
cout << a__b <<endl;
return 0;
}