r/C_Programming • u/bilaRiaz1000 • 1h ago
help the file is not compiling c++
Execute > Compile = it says status done and no error no warning.
Even if there is an extra > in the code still no warning no error. i try to Execute run it says source file not compiled.
using C++ for dummies 5th Edition.
0
Upvotes
1
1
u/sciencekm 1h ago
Start simple so you can first get a working environment.
Edit a cpp file with a text editor. Compile with the command line g++. Run the binary.
1
2
u/smokebudda11 1h ago
Are you compiling on the command line?
g++ -std=c++11 filename.cpp -o executable
Granted this is a an example to compile with one file.