linux-l: C++ problem

Boris Lorbeer lorbeer at math.tu-berlin.de
Do Apr 9 09:31:22 CEST 1998


> [...]
> > 
> > #include<iostream>
> > 
> 
> #include <iostream.h>
>                   ^^
> 
> > 
> > int main()
> > {
> >     std::cout<<"Hello, world!\n";
> > }
> > 
> > 
> [...]
> 
> calle
> > 
> > Danke fuer jede Antwort,
> > Boris
> > 
> > ***************
> > lorbeer at math.tu-berlin.de
> > 
> 

Hallo,
Danke fuer die Antwort:
Das habe ich auch schon probiert, aber in diesem Fall erhalte
ich:

HelloWorld.cc: In function `int main()':
HelloWorld.cc:5: `std' undeclared (first use this function)
HelloWorld.cc:5: (Each undeclared identifier is reported only once
HelloWorld.cc:5: for each function it appears in.)
HelloWorld.cc:5: parse error before `::'

Und nun??
Boris
****************
lorbeer at math.tu-berlin.de





Mehr Informationen über die Mailingliste linux-l