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
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
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
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
> 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
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
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
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
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