Try ./hello instead of hello (at the bash promt)

> I am having difficulties getting g++ to compile properly.
> 
> I am just testing it with a simple "hello" program.
>
> When I type ...
> 
> g++ -g -Wall -ohello hello.cc
> 
> The file - hello - is created.  When I type, hello to execute the program.  
> The bash shell tells me there is no such command.
>  
> What am I doing wrong?  I need to get this working for my class on Monday.
>  
> Thanks,
> Denis

Reply via email to