need help running compiled c++ code
Ok I am pretty new to linux, but have done java and c++ programming in a unix-like enviroment before via ssh. I am trying to run a simple c++ that I have compiled in the following way.
Code:
c++ -o hello hello.cpp
when I do this it makes a file in the current directory called:
hello*
now usually to run the program I would just type hello in the shell and it would run the program right? but when i do type hello I get this:
Quote:
bash: hello: command not found
Thank you for any help and your patience helping out a linux-newbie,
Jeremy