I need to learn C language again. After installing VS Code, I ran the C program successfully according to the configuration process on the Internet. However, when I reopened it the next day, an error was reported!
Json and launch.json were checked and found no errors. After a closer look, the problem was the path, because there was a program declaration in lanch
Json can not access the workspaceRoot. In this case, I should directly select the option to open the folder, and select the directory above the. C file and the json file.
Open Cprogram which contains.c files and contains.vscode files which need various JSON configurations
Select to reopen the Cprogram folder and the program will execute correctly
Json and launch.json were checked and found no errors. After a closer look, the problem was the path, because there was a program declaration in lanch
Json can not access the workspaceRoot. In this case, I should directly select the option to open the folder, and select the directory above the. C file and the json file.
Open Cprogram which contains.c files and contains.vscode files which need various JSON configurations
Select to reopen the Cprogram folder and the program will execute correctly
Read More:
- Python program uses OS. System () method to call exe program, resulting in no response of main program process
- C language program running results flash back how to do
- error C2057: expected constant expression (Can the size of an array in C language be defined when the program is running?)
- Running program encountered Error:Access violation at 0x**(tried to write to 0x**) program terminated
- could not open `C:\Program Files\Java\jre1.8.0_191\lib\amd64\jvm.cfg’
- The solution of windows not flashing back when visual studio console program is running
- Error: could not open `C:\Program Files\Java\jre1.8.0_211\lib\amd64\jvm.cfg’ (How to Fix)
- The solution of flashing back after the end of console program running
- “Launch” appears when eclipse C + + CDT runs the program failed.binary not found”
- OpenGL program running prompt glut32.dll missing problem
- Solution to the flash of visual studio 2017 running program
- Three solutions to flash back of program running result box under vs
- 0028opengl program running prompt glut32.dll missing one of the solutions
- The perfect solution of VS2010 console program running in a flash
- Solutions to error c2143: syntax error: missing ‘;’ before ‘type’ in C + + program compilation
- Visual studio 2017, OpenGL program running prompt glut32.dll missing solution
- [OpenGL] cannot start this program because the computer is missing glut32.dll. Try to re install the program to fix this problem. …
- This program cannot be started because vcruntime140 is missing from your computer_ 1.dll。 Try to install the program again to solve the problem.
- Kylin running program reported an error: insufficient permission
- Solution to flash back of visual studio 2017 running program