Re: [PLUG] compiler errors

2005-08-04 Thread Shridhar Daithankar
Kapil D. Pendse wrote: Hi! use #include with a g++ compiler - gcc is a GNU 'C' Compiler while g++ is the GNU C++ compiler gcc stands for GNU Compiler Collection. GCC stands for GNU Compiler Collection. Shridhar -- __ P

Re: [PLUG] compiler errors

2005-08-03 Thread Kapil D. Pendse
Hi! > use #include with a g++ compiler - gcc is a GNU 'C' Compiler > while g++ is the GNU C++ compiler gcc stands for GNU Compiler Collection. Regards, Kapil -- "The Power to Imagine, is The Power to Create!" -TTux -- __ Pune

Re: [PLUG] compiler errors

2005-08-02 Thread Rohan Dighe
Ok for your help i am describing here with an example hope it solves your problem completely ! I am pasting the correct version of both the programs. #include int main() { cout<<"Hello, World"; return(0); } [EMAIL PROTECTED] ~]$ vi 1.cpp [EMAIL PROTECTED] ~]$ g++ -o 1 1.cpp In file included f

Re: [PLUG] compiler errors

2005-08-02 Thread Madhur Kumar Tanwani
ranjit bhonsle wrote: Hello all, Why does the gcc compiler give a lot of errors when using iostream.h as a header file? Including iostream causes the compiler to complain about cout and cin not being declared. use #include with a g++ compiler - gcc is a GNU 'C' Compiler while g++ is the GNU

Re: [PLUG] compiler errors

2005-08-02 Thread choube mehul
> compiler to complain about cout and cin not being > declared. i think you have to add following line: using namespace std; or use std::cin, std::cout the cin and cout stream objects are in std namespace. hope this helps you. Mehul Send instant messages to your online friends http://in.mes

Re: [PLUG] compiler errors

2005-08-01 Thread ranjit bhonsle
On Mon, 2005-08-01 at 16:16 +0530, Steve wrote: > Hello Ranjit, > > Also on FC3 single quotation and double quotation does not > > print to screen. > This I don't understand, could use give some sample code ?? > > Regards > Steve I found a it ...after you type single quotation ' you have to pres

Re: [PLUG] compiler errors

2005-08-01 Thread Steve
Hello Ranjit, ranjit bhonsle wrote: Hello all, Why does the gcc compiler give a lot of errors when using iostream.h as a header file? Including iostream causes the compiler to complain about cout and cin not being declared. That is what the header file is supposed to provide. I am a newbee where

Re: [PLUG] compiler errors

2005-08-01 Thread Shridhar Daithankar
ranjit bhonsle wrote: Hello all, Why does the gcc compiler give a lot of errors when using iostream.h as a header file? Including iostream causes the compiler to complain about cout and cin not being declared. That is what the header file is supposed to provide. I am a newbee where programming is

[PLUG] compiler errors

2005-08-01 Thread ranjit bhonsle
Hello all, Why does the gcc compiler give a lot of errors when using iostream.h as a header file? Including iostream causes the compiler to complain about cout and cin not being declared. That is what the header file is supposed to provide. I am a newbee where programming is concerned. somebody had