c++ 学习纪录

今天再来补习下c++的相关知识

1 标准类库 iostream 包含:istream  ostream

  常用方法  输入: std::cin >> para  。。。输出  std::cout<<"this is test "

2 编译器 根据系统不同选取编译器不同 常用的 gnu  微软编译器

3 基本类型(内置类型) int(4) short(2) float(4) double(8) long(16) char(2) usign int egt.

4 struct Class 扩展类型   数据类型 vector类型

5 entern 声明  变量可以有多个声明 但是定义只能一次

6 typedef 预定义 简写复杂的类型

原文地址:https://www.cnblogs.com/blueker-li/p/3207607.html