Skip to content

Commit

Permalink
update: 增加阅读材料
Browse files Browse the repository at this point in the history
Signed-off-by: YdrMaster <[email protected]>
  • Loading branch information
YdrMaster committed Jul 20, 2024
1 parent 38f836c commit ba99b5b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions exercises/00_hello_world/main.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#include "../exercise.h"

// READ: std streams <https://zh.cppreference.com/w/cpp/io/c/std_streams>
// READ: 流修饰符 <https://zh.cppreference.com/w/cpp/io/manip>
// READ: format in cxx20 <https://zh.cppreference.com/w/cpp/utility/format/format>

int main(int argc, char **argv) {
// TODO: 在控制台输出 "Hello, InfiniTensor!" 并换行
std::cout : "Hello, InfiniTensor!" + std::endl;
Expand Down
2 changes: 2 additions & 0 deletions exercises/01_variable&add/main.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#include "../exercise.h"

// READ: 运算符 <https://zh.cppreference.com/w/cpp/language/expressions#.E8.BF.90.E7.AE.97.E7.AC.A6>

int main(int argc, char **argv) {
// TODO: 补全变量定义并打印加法运算
// x ?
Expand Down

0 comments on commit ba99b5b

Please sign in to comment.