g++ Ärger

Jan-Benedict Glaw jbglaw at lug-owl.de
Mon Apr 18 09:21:40 CEST 2005


On Sun, 2005-04-17 12:51:28 +0200, Klaus Reinke <zuffmick at t-online.de>
wrote in message <200504171251.28797.zuffmick at t-online.de>:

> #include<iostream>
> #include<string>
> 

Wenn Du hier noch ein:

using namespace std;

einfügst, wird das funktionieren.

> string s1="Hallo";
> string s2="World";
> 
> int main(){
> 
>   cout << s1 + " " + s2 + "!\n";

...und hier fehlt noch ein

	return 0;

>   }

MfG, JBG

-- 
Jan-Benedict Glaw       jbglaw at lug-owl.de    . +49-172-7608481             _ O _
"Eine Freie Meinung in  einem Freien Kopf    | Gegen Zensur | Gegen Krieg  _ _ O
 fuer einen Freien Staat voll Freier Bürger" | im Internet! |   im Irak!   O O O
ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lug-owl.de/pipermail/linux/attachments/20050418/f8a240d8/attachment.sig>


More information about the Linux mailing list