Skip to content

Commit df39da5

Browse files
committed
Fixed a missing block code and json comments.
1 parent 6f5137a commit df39da5

File tree

1 file changed

+5
-5
lines changed
  • Section22-Bonus_Section-Using_Visual_Studio_Code

1 file changed

+5
-5
lines changed

Section22-Bonus_Section-Using_Visual_Studio_Code/readme.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,10 @@ VSCode require the `.cpp` file to be selected prior building it
5252
```json
5353
"args": [
5454
"-g",
55-
"-Wall", // to generate all warnings
56-
"-std=c++20", // use c++20 standard
55+
"-Wall", // to generate all warnings
56+
"-std=c++20", // use c++20 standard
5757
// "${file}",
58-
"${fileDirname}/*.cpp", // compile all c++ files
58+
"${fileDirname}/*.cpp", // compile all c++ files
5959
"-o",
6060
"${fileDirname}/${fileBasenameNoExtension}"
6161
],
@@ -93,9 +93,9 @@ main main.cpp main.dSYM
9393
## Running multiple C++ programs
9494
According to my file structure, which I have `test1` and `test2` directory with respective `.cpp` files, this is to avoid build error
9595
96-
``
96+
```
9797
clang: error: no such file or directory: 'test2.cpp'
9898
clang: error: no input files
99-
``
99+
```
100100
101101
Despite the `.cpp` file name is different, I learned that there will be buile errors if `tes1.cpp` and `test2.cpp` are in the same directory during build.

0 commit comments

Comments
 (0)