Re: creating an executable
On Tue, May 14, 2002 at 08:37:48PM -0700, Justin News wrote:
> To compile I use the commmand:
> g++ -o hello hello.cpp
> I do get a "hello" file with 755 permissions so everything looks fine.
> However, when i try to run the program i get the error msg saying:
> bash: hello: command not found
Is . in your $PATH? Try ./hello instead of just hello.
Lee Bradshaw lee@sectionIV.com
Texas Instruments email@example.com
GnuPG D8C3BBD2 CC08 D690 0B70 3C70 351E EB05 96A3 3789 D8C3 BBD2
To UNSUBSCRIBE, email to firstname.lastname@example.org
with a subject of "unsubscribe". Trouble? Contact email@example.com