Started C++
This commit is contained in:
19
C++/FirstProgram/.vscode/launch.json
vendored
Normal file
19
C++/FirstProgram/.vscode/launch.json
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
// Use IntelliSense to learn about possible attributes.
|
||||
// Hover to view descriptions of existing attributes.
|
||||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"name": "(Windows) Launch",
|
||||
"type": "cppvsdbg",
|
||||
"request": "launch",
|
||||
"program": "enter program name, for example ${workspaceFolder}/a.exe",
|
||||
"args": [],
|
||||
"stopAtEntry": false,
|
||||
"cwd": "${workspaceFolder}",
|
||||
"environment": [],
|
||||
"externalConsole": true
|
||||
}
|
||||
]
|
||||
}
|
||||
9
C++/FirstProgram/main.cpp
Normal file
9
C++/FirstProgram/main.cpp
Normal file
@@ -0,0 +1,9 @@
|
||||
#include <iostream>
|
||||
using namespace std;
|
||||
|
||||
int main() {
|
||||
for (int i = 0; i < 10; i++) {
|
||||
cout << i;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
BIN
C++/FirstProgram/main.exe
Normal file
BIN
C++/FirstProgram/main.exe
Normal file
Binary file not shown.
Reference in New Issue
Block a user