2C语言基础.docVIP

  • 2
  • 0
  • 约8.99千字
  • 约 7页
  • 2017-06-09 发布于浙江
  • 举报
2C语言基础

第2章 C++的数据与运算 2.1 C++的字符集和词法记号 2.1.1 字符集(Character sets) 字符集是构成C++语言的基本元素。用C++语言编写程序时,除字符型数据外,其他所有成分都只能山字符集中的字符构成。C++语言的字符集由下述字符构成: 英文字母:a b c d e f g h i j k l m n o p q r s t u v w x y z A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 数字字符:0 1 2 3 4 5 6 7 8 9 特殊字符:_ { } [ ] # ( ) % : ; . ? * + - / ^ | ~ ! = , \ ’ 2.1.2 词法记号(Lexical conventions) 1、关键字(Keywords) asm do if return typedef auto double inline short typeid bool dynamic_cast int signed typename break else long sizeof union ase enum mutable static unsigned catch explicit namespace static_cast using char export new struct v

文档评论(0)

1亿VIP精品文档

相关文档