标识符(identifier),即名字,C++中的标识符用心标识变量、函数、类、命名字间等。
规则:
1.标识符只能包含字母、数字和下划线;
2.标识符不能以数字开头;
3.不要将C++关键字作为标识符;
4.C++中标识符的大小写敏感,也就是说:A和a会被认为是2个不同的标识符;
5.标识符的长度没有限制,但是一般认为长度不应该超过32。
举例说明:
royzou?? //正确
Royzou? //正确
标识符?? //错误,不能使用中文
1royzou? //错误,不能数字开头
Amazing plenty of useful advice. canada online pharmacies
You said it nicely.! canadian pharmacies shipping to usa
Many thanks, An abundance of advice.
canadadrugsonline
Nicely put, Regards. viagra price
Regards! Terrific information. londondrugs
Incredible many of amazing tips! tretinoin cream 025
Kudos! Excellent stuff! 100mg viagra without a doctor prescription
This is nicely expressed! ! cbd oil for pain
Effectively voiced without a doubt. ! kamagra 100 mg
Reliable knowledge. Many thanks! cbd oil for pain at walmart
Effectively expressed really! . hemp oil for pain