Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion src/Ch00/CodeDemo.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Learning C++
// Exercise 00_03
// Using the exercise files on GitHub, by Eduardo Corpeño

// Hello world
#include <iostream>

int main(){
Expand Down
9 changes: 9 additions & 0 deletions src/Ch01/01_02b/CodeDemo.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
// Learning C++
// Exercise 01_02
// Hello World, by Eduardo Corpeño

#include <iostream>

int main(){
std::cout << "Hi there!" << std::endl;

std::cout << std::endl << std::endl;
return(0);
}
3 changes: 2 additions & 1 deletion src/Ch01/01_03/CodeDemo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down