On Feb 16, 3:51 pm, Sreenivas
> I dont know how to compile cpp programs with gcc as i am new
> to gcc and cpp. could anybody help me out?
You do it exactly the same way you do with any compiler: you
read the documentation, very carefully, in order to choose the
options which are appropriate to what you're doing. I could
give you the options I use for compiling under Linux, but
there's absolutely no reason to suppose that they would be
appropriate for your circumstances.
--
James Kanze (GABI Software) email:james.kanze@gmail.com
Conseils en informatique orient=E9e objet/
Beratung in objektorientierter Datenverarbeitung
9 place S=E9mard, 78210 St.-Cyr-l'=C9cole, France, +33 (0)1 30 23 00 34