Optimus_Jazz
September 8th, 2009, 04:15 PM
Hi,
I am using gedit to do my C++ programming,however i have run into an issue and don't have much of a clue how to resolve it.
When I compile my program via the terminal using
g++ -g myfile.cpp -o myfile.cpp
and then run it using
./myfile.cpp
everything works.However,if I reload,or try to reload the file in gedit after it has been compiled and run the code cannot be displayed and i am given this message :
http://img38.imageshack.us/img38/7073/cpperror.png
Any ideas on how i might be able to solve this?
I am using gedit to do my C++ programming,however i have run into an issue and don't have much of a clue how to resolve it.
When I compile my program via the terminal using
g++ -g myfile.cpp -o myfile.cpp
and then run it using
./myfile.cpp
everything works.However,if I reload,or try to reload the file in gedit after it has been compiled and run the code cannot be displayed and i am given this message :
http://img38.imageshack.us/img38/7073/cpperror.png
Any ideas on how i might be able to solve this?