Skip to content

Commit 9ddf859

Browse files
committed
注释
1 parent 520c6ce commit 9ddf859

File tree

3 files changed

+7
-22
lines changed

3 files changed

+7
-22
lines changed

.vscode/settings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
},
1212
"files.associations": {
1313
"*.gafq": "lua",
14-
"functional": "cpp"
14+
"functional": "cpp",
15+
"iostream": "cpp"
1516
},
1617
"leetcode-problem-rating.filePath": {
1718
"default": {

resources/debug/entry/cpp/entry.cpp

Lines changed: 3 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1+
#include <cstring>
12
#include <iostream>
2-
#include <vector>
33
#include <queue>
44
#include <string>
5-
#include <cstring>
5+
#include <vector>
66

77
#include "cJSON.h"
88

@@ -14,27 +14,10 @@ int main(int argc, char **argv)
1414
{
1515
for (int i = 0; i < argc; i++)
1616
{
17-
cout << "Argument " << i << " is " << argv[i] << endl;
17+
cout << "arg " << i << " is " << argv[i] << endl;
1818
}
1919

2020
// @@stub-for-body-code@@
2121

22-
// for (int i = 0; i < params.size(); i++)
23-
// {
24-
// string param = params[i];
25-
// string paramType = paramsType[i];
26-
// cJSON *item = cJSON_Parse(param.c_str());
27-
// if (paramType == "number")
28-
// {
29-
// int num = parseNumber(item);
30-
// res.push_back(&num);
31-
// }
32-
// else if (paramType == "number[]")
33-
// {
34-
// vector<int> vint = parseNumberArray(item);
35-
// res.push_back(&vint);
36-
// }
37-
// }
38-
3922
return 0;
4023
}

src/debugex/debugCpp.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,8 +277,9 @@ class DebugCpp extends DebugBase {
277277
Object.assign({}, debugConfig, {
278278
request: "launch",
279279
name: debugSessionName,
280-
logging: { engineLogging: true, trace: true, traceResponse: true },
280+
// logging: { engineLogging: true, trace: true, traceResponse: true },
281281
args,
282+
282283
})
283284
);
284285

0 commit comments

Comments
 (0)