C++程序设计简明教程(第二版)教学课件 第1章 C++概述.pptVIP

  • 1
  • 0
  • 约1.07万字
  • 约 48页
  • 2019-10-03 发布于未知
  • 举报

C++程序设计简明教程(第二版)教学课件 第1章 C++概述.ppt

21世纪高等院校计算机系列教材 C++ 程序设计简明教程 (第二版) 教学课件 艾德才 迟丽华等编著制作 教 学 主 要 内 容 第 1 章 C++基础 第 2 章 C++流程控制语句 第 3 章 指针、结构体和联合体 第 4 章 函数 第 5 章 C++类 第 6 章 C++运算符的重载 第 7 章 继承和模板 第 8 章 C++流与文件 第 1 章 C++概述 程序1.1 简单C++程序举例 #includeiostream.h void main() { coutHello world.\n; } 程序1.2 带注释的程序 #includeiostream.h void main() {/*This is a comment and it extends until the closing star-slash comment mark .*/ coutHello,world!.\n; //This comment ends at the of the line. } 程序1.3 由两个函数组成的程序 int add(int x,int y) { coutIn add() received x and y\n; return(x+y); } vo

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档