[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: c programming in Linux



Hi

  Perhaps you have not included current directory in path. try 'echo
$PATH' to verify this. As a dos/windows user earlier, I have also faced
same problem.

 Regards
   Shridhar


On Tue, 22 Jun 1999, Kunal Shah wrote:

> Hi all
> I have a book of stephen prata which is  advanced unix - a programmers guide.
> I am trying to learn c from it.
> When i write  a simple program "to print hello world" and issue a command 
> cc kunal.c no error is shown by systems and next command prompt appears.
> But when i try to run this program by issuing command a.out nothing is happening and system prompts bash : a.aout not found not such file or directory
>  like it is not recognizing that command.
> is there any other  metode to run c programs?
> Kunal
> 

- --------------------------------------------------------------------
For more information on Linux in India visit http://www.linux-india.org/
Linux India is NOT a forum for Microsoft/India/Pakistan/US/UK bashing.
Flame baits will not be tolerated.  If you can appreciate satire read
http://www.templetons.com/brad/emily.html

------------------------------