From ba99b5b5b08508f9ced730f9286498eec2eab606 Mon Sep 17 00:00:00 2001 From: YdrMaster Date: Sat, 20 Jul 2024 15:15:50 +0800 Subject: [PATCH] =?UTF-8?q?update:=20=E5=A2=9E=E5=8A=A0=E9=98=85=E8=AF=BB?= =?UTF-8?q?=E6=9D=90=E6=96=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: YdrMaster --- exercises/00_hello_world/main.cpp | 4 ++++ exercises/01_variable&add/main.cpp | 2 ++ 2 files changed, 6 insertions(+) diff --git a/exercises/00_hello_world/main.cpp b/exercises/00_hello_world/main.cpp index 1c9a7f54..8866f3c1 100644 --- a/exercises/00_hello_world/main.cpp +++ b/exercises/00_hello_world/main.cpp @@ -1,5 +1,9 @@ #include "../exercise.h" +// READ: std streams +// READ: 流修饰符 +// READ: format in cxx20 + int main(int argc, char **argv) { // TODO: 在控制台输出 "Hello, InfiniTensor!" 并换行 std::cout : "Hello, InfiniTensor!" + std::endl; diff --git a/exercises/01_variable&add/main.cpp b/exercises/01_variable&add/main.cpp index 27ac6df3..5014863f 100644 --- a/exercises/01_variable&add/main.cpp +++ b/exercises/01_variable&add/main.cpp @@ -1,5 +1,7 @@ #include "../exercise.h" +// READ: 运算符 + int main(int argc, char **argv) { // TODO: 补全变量定义并打印加法运算 // x ?