How to run c program in command line

After I use qcc complie the c program.
How can I run it?
When I try a.out command ,it doesn’t work.


Tie Hu
6/11/02

tie <tie@cbis.ece.drexel.edu> wrote:
: After I use qcc complie the c program.
: How can I run it?
: When I try a.out command ,it doesn’t work.

If you’re getting a message like this:

a.out: not found

you probably have to specify the directory:

./a.out

because your current directory isn’t typically in your PATH.


Steve Reid stever@qnx.com
TechPubs (Technical Publications)
QNX Software Systems