use from command prompt c++ yourprog.cpp or
alternatively you could use g++ yourprog.cpp

if successfully compiled both will produce the binary
a.out...which is executable.

sanjay
--- Sharninder <[EMAIL PROTECTED]> wrote:

> > 
> > I am a Linux newbie and would like to compile a
> C++
> > program in Red Hat
> > Linux RC1. I have gc++ installed and have written
> > the desired program
> > in KEdit and saved it with .cpp extension. How do
> I 
> > proceed? Also,
> > would it be possible for me to make a Linux
> > executable of my program?!
> > 
> 
> g++ filename.cpp -o outputfilename
> 
> btw: Don't you think google would have answered this
> question faster than any of us ?
> 
> --
> Sharninder
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> http://mail.yahoo.com 
> 
> --
> To unsubscribe, send mail to [EMAIL PROTECTED]
> with the body
> "unsubscribe ilug-cal" and an empty subject line.
> FAQ: http://www.ilug-cal.org/node.php?id=3
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

--
To unsubscribe, send mail to [EMAIL PROTECTED] with the body
"unsubscribe ilug-cal" and an empty subject line.
FAQ: http://www.ilug-cal.org/node.php?id=3

Reply via email to