Skip to content
本页目录

知识点汇总

发布时间:

1、输出"hello C++"代码全背写
2、数据类型 int(4字节) short(2字节) long(4字节) long long(字节) float(4字节) double(8字节) char(1字节) bool(1字节)
3、变量命名规则三条
4、cin>>
5、5则运算 +-*/%
6、赋值运算符 = += -= *= /=
7、自增/减运算符 ++ -- 前置和后置
8、printf("%.2f",1); printf("%2f",1);
9、字符 '0','a','A'
10、&& || !
11、选择 if()
12、选择 switch
13、循环 while do while for