Link to home
Start Free TrialLog in
Avatar of mariocou
mariocou

asked on

How to run home-made programs?

I used g++ to compile a simple "Hello world" C++ program. It produced the "a.out" executable. If I try to run the "a.out" executable, I get "Command not found". How can I run my home-made programs?
ASKER CERTIFIED SOLUTION
Avatar of mpass
mpass

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of EatEmAndSmile
EatEmAndSmile

If the ¨.¨ directory is not in your path, you're probably running it as root. This is not recommended.
--------------_4D4800F93F08BFFFEDD4
Content-Disposition: form-data; name="notify"

on
--------------_4D4800F93F08BFFFEDD4
Content-Disposition: form-data; name="Submit"

Submit
--------------_4D4800F93F08BFFFEDD4--