I am just new, i am using mandrake 10, and have started writing some c++ programs. My files compile fine with no errors, however when i try executing the program ive written it just says bash: exe: command not found. I am trying to use a.out to run my file, please tell me how to run my file. Thanks Heaps Beginner
Unlike windows, bash only searches the PATH environment not the current working directory for a command. You can either use the entire path or ./ or add the current working directory to the PATH:
./ is a short for current working directory i.e.
To add current working directory to your path:
I appreciate your help greatly.
|All times are GMT -5. The time now is 03:15 AM.|