From ad4d6d5010ff703b71715714b291e872c4893669 Mon Sep 17 00:00:00 2001 From: J08nY Date: Wed, 6 Mar 2024 14:50:57 +0100 Subject: [PATCH] Add links to godbolt compiler results for examples. --- _examples/01.md | 4 +++- _examples/02.md | 4 +++- _examples/03.md | 4 +++- _examples/04.md | 4 +++- _examples/05.md | 4 +++- _examples/06.md | 4 +++- _examples/07.md | 4 +++- _examples/08.md | 4 +++- _examples/09.md | 4 +++- _examples/10.md | 4 +++- 10 files changed, 30 insertions(+), 10 deletions(-) diff --git a/_examples/01.md b/_examples/01.md index f02be0e..045210c 100644 --- a/_examples/01.md +++ b/_examples/01.md @@ -36,4 +36,6 @@ int main(int argc, char *argv[]) { return 0; } -``` \ No newline at end of file +``` + +See the compilation results with different optimization levels on [GodBolt](https://godbolt.org/z/acPazsbP3). diff --git a/_examples/02.md b/_examples/02.md index 353b5cf..7bb9255 100644 --- a/_examples/02.md +++ b/_examples/02.md @@ -32,4 +32,6 @@ int main(int argc, char *argv[]) { return 0; } -``` \ No newline at end of file +``` + +See the compilation results with different optimization levels on [GodBolt](https://godbolt.org/z/EbGaPKe3f). diff --git a/_examples/03.md b/_examples/03.md index f25fc3e..de1a822 100644 --- a/_examples/03.md +++ b/_examples/03.md @@ -33,4 +33,6 @@ int main(int argc, char *argv[]) { return 0; } -``` \ No newline at end of file +``` + +See the compilation results with different optimization levels on [GodBolt](https://godbolt.org/z/nj1b1d633). diff --git a/_examples/04.md b/_examples/04.md index 3aef7dc..4bf3669 100644 --- a/_examples/04.md +++ b/_examples/04.md @@ -33,4 +33,6 @@ int main(int argc, char *argv[]) { return 0; } -``` \ No newline at end of file +``` + +See the compilation results with different optimization levels on [GodBolt](https://godbolt.org/z/hY99P8Wf4). diff --git a/_examples/05.md b/_examples/05.md index e2aa784..53a10c7 100644 --- a/_examples/05.md +++ b/_examples/05.md @@ -42,4 +42,6 @@ int main(int argc, char *argv[]){ return 0; } -``` \ No newline at end of file +``` + +See the compilation results with different optimization levels on [GodBolt](https://godbolt.org/z/e9j7h1EGe). diff --git a/_examples/06.md b/_examples/06.md index 28f1261..42eaa68 100644 --- a/_examples/06.md +++ b/_examples/06.md @@ -76,4 +76,6 @@ int main(void) { return 0; } -``` \ No newline at end of file +``` + +See the compilation results with different optimization levels on [GodBolt](https://godbolt.org/z/sKc6TTnhG). diff --git a/_examples/07.md b/_examples/07.md index 5eed3a9..21dc82b 100644 --- a/_examples/07.md +++ b/_examples/07.md @@ -61,4 +61,6 @@ int main(int argc, char *argv[]) { return 0; } -``` \ No newline at end of file +``` + +See the compilation results with different optimization levels on [GodBolt](https://godbolt.org/z/PEv77sers). diff --git a/_examples/08.md b/_examples/08.md index 7e06ffa..df39c6e 100644 --- a/_examples/08.md +++ b/_examples/08.md @@ -44,4 +44,6 @@ int main(int argc, char * argv[]) { return 0; } -``` \ No newline at end of file +``` + +See the compilation results with different optimization levels on [GodBolt](https://godbolt.org/z/WYT8Pc6ET). diff --git a/_examples/09.md b/_examples/09.md index bbfea5c..79c747a 100644 --- a/_examples/09.md +++ b/_examples/09.md @@ -45,4 +45,6 @@ int main(int argc, char * argv[]) { return 0; } -``` \ No newline at end of file +``` + +See the compilation results with different optimization levels on [GodBolt](https://godbolt.org/z/G8vM9a1e3). diff --git a/_examples/10.md b/_examples/10.md index fc46efa..f21aa8e 100644 --- a/_examples/10.md +++ b/_examples/10.md @@ -39,4 +39,6 @@ int main(int argc, char * argv[]) { return 0; } -``` \ No newline at end of file +``` + +See the compilation results with different optimization levels on [GodBolt](https://godbolt.org/z/1fEKKTYjj).