Skip to content

Commit ba99b5b

Browse files
committed
update: 增加阅读材料
Signed-off-by: YdrMaster <[email protected]>
1 parent 38f836c commit ba99b5b

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

exercises/00_hello_world/main.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
#include "../exercise.h"
22

3+
// READ: std streams <https://zh.cppreference.com/w/cpp/io/c/std_streams>
4+
// READ: 流修饰符 <https://zh.cppreference.com/w/cpp/io/manip>
5+
// READ: format in cxx20 <https://zh.cppreference.com/w/cpp/utility/format/format>
6+
37
int main(int argc, char **argv) {
48
// TODO: 在控制台输出 "Hello, InfiniTensor!" 并换行
59
std::cout : "Hello, InfiniTensor!" + std::endl;

exercises/01_variable&add/main.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#include "../exercise.h"
22

3+
// READ: 运算符 <https://zh.cppreference.com/w/cpp/language/expressions#.E8.BF.90.E7.AE.97.E7.AC.A6>
4+
35
int main(int argc, char **argv) {
46
// TODO: 补全变量定义并打印加法运算
57
// x ?

0 commit comments

Comments
 (0)