CPP compiler on linux
Im trying to run a cpp file on linux, gcc and gdb are installed but idk what to put in the program (location) in the launch.json file
5 Replies
G++ doesn’t need a launch.json
That’s only a vscode thing
how would i run it then
it keeps giving me an error
Everytime i run it, using gcc or g++ it creates a new file
For a forth year im a newbie, bare with me please

You can't run the cpp file, it needs to be compiled first. GCC gives you a compiled file. Run that using the console instead
Unless you wanna run using vs code, in which case I have no idea
thank you kind sir <3