Re: Ot c++ programming in linux
On Fri, Jun 28, 2002 at 06:17:14PM -0700, faisal gillani wrote:
> Well i am a newbie learning c++ these days we are
> being thaught on turbo c 3.0 but as like other things
> i want to work on c++ in linux .. so i installed gcc
> on my linux box but i dont have any idea how to
> install it for example i write a program as follows in
> turbo c
>
> #include<studio.h>
^^^^^^^^ typo
> #include<conio.h>
^^^^^^^^ header not found
> void main (void)
^^^^ undefined behavior
> {
> printf("hello world");
no return statement
> }
> how do i write the same program in gcc ?
news:comp.os.linux.development.apps can help, as can a few good books.
BTW, you want g++ if you really want to do C++...
--
Eric G. Miller <egm2@jps.net>
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: