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
29 changes: 29 additions & 0 deletions .vscode/tasks.json
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
{
"tasks": [
{
"type": "cppbuild",
"label": "C/C++: clang.exe build active file",
"command": "C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\Llvm\\x64\\bin\\clang.exe",
"args": [
"-fcolor-diagnostics",
"-fansi-escape-codes",
"-g",
"${file}",
"-o",
"${fileDirname}\\${fileBasenameNoExtension}.exe"
],
"options": {
"cwd": "C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\Llvm\\x64\\bin"
},
"problemMatcher": [
"$gcc"
],
"group": {
"kind": "build",
"isDefault": true
},
"detail": "Task generated by Debugger."
}
],
"version": "2.0.0"
}
7 changes: 4 additions & 3 deletions main.cpp
Original file line numberDiff line numberDiff line change
Expand Up@@ -3,10 +3,11 @@

int main()
{
std::cout << "THE FIRST EXAMPLE MATH DISPLAY!\n";
std::cout << "Hi, please enter two whole numbers: ";
cout << "THE FIRST EXAMPLE MATH DISPLAY!\n";
cout << "(Limited to whole numbers between -2,147,483,648 and 2,147,483,647)\n";
cout << "Hi, please enter two whole numbers: ";

int x,y;
int32_t x,y;

std::cin >> x >> y;
std::cout << "Addition: " << x + y << std::endl;
Expand Down
Binary file addedmain.ilk
Binary file not shown.
Binary file addedmain.pdb
Binary file not shown.