正在加载图片...
面向对象程序设计 4.关键字系统定义的有特定作用的名字 C和C++都有(常用) int、 float、char、 struct、 union、 const、 堂提要 static、long、 short、 unsigned、 signed、 第五章C++基础 void、enum、 extern、 double、 typedef 51C++概述 for、if、dlse、 while、do、 switch、case、s2数据和表达式 default、 break、 continue、 return、soto53基本语句 54函数 1657: int x; float a; const pi=3.1415 55数组与指针 if(a==b)xa; else xb第五章 C++基础 5.1 C++概述 5.2 数据和表达式 5.3 基本语句 5.4 函数 5.5 数组与指针 4. 关键字 系统定义的有特定作用的名字 C 和 C++ 都有 (常用) int、float、char、struct、union、const、 static、long、short、unsigned、signed、 void、enum、extern、double、typedef。 for、if、else、while、do、switch、case、 default、break、continue、return、 goto 例7:int x; float a; const pi=3.1415; if(a= =b) x=a; else x=b;
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有