From e93b6c05a5a3766aff7fcfe7dd28468378d4512f Mon Sep 17 00:00:00 2001 From: thinops-cmd <73981525+thinops-cmd@users.noreply.github.com> Date: Fri, 10 Oct 2025 19:35:45 +0000 Subject: [PATCH 1/2] Initial commit From ceb26ad4a8514f3804f2541ad63f4c5d69ac1f88 Mon Sep 17 00:00:00 2001 From: thinops-cmd <73981525+thinops-cmd@users.noreply.github.com> Date: Mon, 13 Oct 2025 17:29:40 +0000 Subject: [PATCH 2/2] Update color theme in settings and modify output messages in CodeDemo files --- .vscode/settings.json | 2 +- src/Ch00/CodeDemo.cpp | 2 +- src/Ch01/01_02b/CodeDemo.cpp | 9 +++++++++ src/Ch01/01_03/CodeDemo.cpp | 3 ++- 4 files changed, 13 insertions(+), 3 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 822ba5d6..d17617ff 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -20,7 +20,7 @@ "window.commandCenter": false, "screencastMode.onlyKeyboardShortcuts": true, "terminal.integrated.fontSize": 18, - "workbench.colorTheme": "Visual Studio Dark", + "workbench.colorTheme": "Visual Studio Dark - C++", "workbench.fontAliasing": "antialiased", "C_Cpp.codeAnalysis.clangTidy.enabled": true, "workbench.statusBar.visible": true, diff --git a/src/Ch00/CodeDemo.cpp b/src/Ch00/CodeDemo.cpp index 2613d2c3..17684ac1 100644 --- a/src/Ch00/CodeDemo.cpp +++ b/src/Ch00/CodeDemo.cpp @@ -1,7 +1,7 @@ // Learning C++ // Exercise 00_03 // Using the exercise files on GitHub, by Eduardo Corpeño - +// Hello world #include int main(){ diff --git a/src/Ch01/01_02b/CodeDemo.cpp b/src/Ch01/01_02b/CodeDemo.cpp index c4989f70..59de7465 100644 --- a/src/Ch01/01_02b/CodeDemo.cpp +++ b/src/Ch01/01_02b/CodeDemo.cpp @@ -1,3 +1,12 @@ // Learning C++ // Exercise 01_02 // Hello World, by Eduardo Corpeño + +#include + +int main(){ + std::cout << "Hi there!" << std::endl; + + std::cout << std::endl << std::endl; + return(0); +} \ No newline at end of file diff --git a/src/Ch01/01_03/CodeDemo.cpp b/src/Ch01/01_03/CodeDemo.cpp index 2a89889d..94fd1eb1 100644 --- a/src/Ch01/01_03/CodeDemo.cpp +++ b/src/Ch01/01_03/CodeDemo.cpp @@ -7,8 +7,9 @@ int main(){ std::string str; + std::cout << "Enter your name: " << std::flush; std::cin >> str; - std::cout << str; + std::cout << "Its nice to meet you, " << str << "!" << std::endl; std::cout << std::endl << std::endl; return (0);