Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Don't have c_cpp_properties.json file in vscode

I started learning cpp in vscode a while ago. I am not getting back into it but I have no idea how to compile/run programs and every tutorial that I'm watching is saying that I have to copy and paste the path from my MinGW folder to the path in c_cpp_properties.json but within my .vscode folder I don't have that file. Instead I have three other files.

enter image description here

How do I add the c_cpp_properties.json file?

like image 382
alex207e Avatar asked Dec 31 '22 01:12

alex207e


1 Answers

You can view the C/C++ configuration UI by running the command C/C++: Edit Configurations (UI) from the Command Palette (Ctrl+Shift+P).

From here.

This will add c_cpp_properties file.

like image 72
Roy2511 Avatar answered Jan 11 '23 22:01

Roy2511