[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]
c programming in Linux
- Subject: c programming in Linux
- From: "Kunal Shah" <kvshah@xxxxxxxxxx>
- Date: Tue, 22 Jun 1999 21:38:05 +0530
This is a multi-part message in MIME format.
- ------=_NextPart_000_0028_01BEBCF7.83353980
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
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=20
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
- ------=_NextPart_000_0028_01BEBCF7.83353980
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>
<META content=3Dtext/html;charset=3Diso-8859-1 =
http-equiv=3DContent-Type>
<META content=3D'"MSHTML 4.72.3110.7"' name=3DGENERATOR>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT color=3D#000000 size=3D2>Hi all</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>I have a book of stephen prata which =
is =20
advanced unix - a programmers guide.</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>I am trying to learn c from =
it.</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT><FONT color=3D#000000 =
size=3D2>When i=20
write a simple program "to print hello world" and issue =
a=20
command </FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>cc kunal.c no error is shown by =
systems and next=20
command prompt appears.</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT><FONT size=3D2>But when i try =
to run this=20
program by issuing command a.out nothing is happening and system prompts =
bash :=20
a.aout not found not such file or directory</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2> like it is not recognizing =
that=20
command.</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>is there any other metode to =
run c=20
programs?</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>Kunal</FONT></DIV></BODY></HTML>
- ------=_NextPart_000_0028_01BEBCF7.83353980--
- --------------------------------------------------------------------
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
------------------------------