- Week 1
- 1.3 compile and link
#pragma once
只要在头文件的最开始加入这条指令就能够保证头文件被编译一次.

debug:
1.编译错误
2.链接错误
3.运行时错误 - 1.4 preprocessor-and-macros
只占一行 - 1.5 simple-input-and-output
- 1.3 compile and link
- Week 2
-
2.1 integer-numbers



答案为-32768 -
2.2 more-integer-types






-
2.3 floating-point-numbers



答案为0
-
怎么知道浮点数的步长
- 2.4 arithmetic-operators

浮点数默认是double





- Week 3:
- 3.1 if-statement

- 3.2-conditions


- 3.3-while-loop
- 3.1 if-statement
- Week 4:Data Structures
- 4.1-arrays
- 4.2-strings
该博客记录了编程学习四周的内容。第一周涉及编译链接、预处理指令、调试错误类型等;第二周涵盖整数类型、浮点数相关知识及算术运算符;第三周有条件语句和循环;第四周介绍了数组和字符串等数据结构。
4460





