MLUG: Re: [UUG/MLUG] Running C programs
Re: [UUG/MLUG] Running C programs
Email address obfuscation in effect -- please click here to turn it off.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
try:

./a.out

Most likely, by default, current path (the ".") is not in the shell's
access paths specified in .cshrc .bshrc or whatever the appropriate
configuration file for your shell is.  You can modify the config file to
include ".", and thus make your life a little easier.
Hope that helps.
- Paul


Kermit & Ruth Shroyer wrote:

>  I just installed Redhat 6.1and am having problems running my C
> programs after a successful compilation.  The a.out file is there but
> the command a.out does not work.  Using cc -c with a differerent name
> is likewise unsuccessful.  Can anyone help with this
> problem. Thanks,Steven Shroyer