update 2024/10/3
This commit is contained in:
parent
93339f0559
commit
fb3ec35fdf
9
.vscode/tasks.json
vendored
9
.vscode/tasks.json
vendored
@ -2,18 +2,17 @@
|
||||
"tasks": [
|
||||
{
|
||||
"type": "cppbuild",
|
||||
"label": "C/C++: gcc.exe 生成活动文件",
|
||||
"command": "D:/TDM-GCC/bin/gcc.exe",
|
||||
"label": "C/C++: g++.exe 生成活动文件",
|
||||
"command": "D:\\TDM-GCC\\bin\\g++.exe",
|
||||
"args": [
|
||||
"-fdiagnostics-color=always",
|
||||
"-g",
|
||||
"${file}",
|
||||
"-o",
|
||||
"${fileDirname}\\${fileBasenameNoExtension}.exe",
|
||||
""
|
||||
"${fileDirname}\\${fileBasenameNoExtension}.exe"
|
||||
],
|
||||
"options": {
|
||||
"cwd": "D:/TDM-GCC/bin"
|
||||
"cwd": "${fileDirname}"
|
||||
},
|
||||
"problemMatcher": [
|
||||
"$gcc"
|
||||
|
Binary file not shown.
8
test.cpp
8
test.cpp
@ -3,6 +3,12 @@
|
||||
using namespace std;
|
||||
|
||||
int main(){
|
||||
cout <<"Hello,World"<<endl;
|
||||
int gc,f,gp;
|
||||
gc = 11;
|
||||
f = gc+25;
|
||||
gp = f+25;
|
||||
cout <<"格小C岁数:"<<gc<<endl;
|
||||
cout <<"格小C爸爸岁数:"<<f<<endl;
|
||||
cout <<"格小C爷爷岁数:"<<gp<<endl;
|
||||
return 0;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user