Vscode running C program error luanch:program does not exsist

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