From 278946c91e45b1114a397a599844d6b378637066 Mon Sep 17 00:00:00 2001 From: rabix Date: Mon, 13 May 2024 10:19:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=200-Getting=20Started=20?= =?UTF-8?q?=E5=BC=80=E5=A7=8B.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 0-Getting Started 开始.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/0-Getting Started 开始.md b/0-Getting Started 开始.md index 59786e2..00fc363 100644 --- a/0-Getting Started 开始.md +++ b/0-Getting Started 开始.md @@ -12,6 +12,7 @@ int main(void) { assert(a + b == 8); } ``` +https://godbolt.org/z/56h6qMhTh 编译运行它,结果是什么都没有,这说明没有问题,那么如果不小心打错了呢,比如你是复制粘贴的第四行只改了变量名 @@ -27,6 +28,7 @@ int main(void) { assert(a + b == 8); } ``` +https://godbolt.org/z/ehfed3zv3 那么很快,当你运行时,程序就会提示你预先认为的`a + b == 8`并不成立,导致出错的代码是`/app/example.c`他的行数是`7`。