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
the magic guy
the magic guy8mo ago
G++ doesn’t need a launch.json That’s only a vscode thing
Jam
Jam8mo ago
how would i run it then it keeps giving me an error
Jam
Jam8mo ago
Everytime i run it, using gcc or g++ it creates a new file For a forth year im a newbie, bare with me please
No description
Eakam
Eakam8mo ago
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
Jam
Jam8mo ago
thank you kind sir <3
Want results from more Discord servers?
Add your server
More Posts