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 [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to