C++常用词汇.docVIP

  • 82
  • 0
  • 约7.51千字
  • 约 18页
  • 2016-11-28 发布于河南
  • 举报
C常用词汇

C++词汇 1. 保留字   C++中,保留字也称关键字,它是预先定义好的标识符。见关键字的解释。 2.关键字   C++中已经被系统定义为特殊含义的一类标识符。C++中的关键字有: auto double int struct break else long switch case enum register typedef char extern return union const float short unsigned continue for signed void default goto sizeof volatile do if static while asm _cs _ds _es _ss cdecl far huge interrupt near pascal class public private catch protected delete new template friend this inline throw try operator virtual overload(现不用) 3.标识符   对变量、函数、标号和其它各种用户自定义对象的命名。在C++中,标识符长度没有限制,第一个字符必须是字母或下划线,其后若有字符则必须为字母、数字或下划线。例如count2,_x是正确的标识符形式,而hello!,3th则是错误的。在C

文档评论(0)

1亿VIP精品文档

相关文档