Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 Dec 1999 14:49:17 +0100
From:      "Ahmed Benani" <ahmed_benani@urbanet.ch>
To:        Arcady Genkin <a.genkin@utoronto.ca>, freebsd-questions@FreeBSD.ORG
Subject:   Re : Re : Re : <sstream> Missing header with g++?
Message-ID:  <19991206135336.8807415468@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

----------
>De=A0: "Ahmed Benani" <ahmed_benani@urbanet.ch>
>=C0 : Arcady Genkin <a.genkin@utoronto.ca>, freebsd-questions@FreeBSD.ORG
>Objet=A0: Re : Re : <sstream> Missing header with g++?
>Date=A0: Lun 6 d=E9c 1999 14:37
>

>
>----------
>>De=DD: "Ahmed Benani" <ahmed_benani@urbanet.ch>
>>=BF : Arcady Genkin <a.genkin@utoronto.ca>, freebsd-questions@FreeBSD.ORG
>>Objet=DD: Re : <sstream> Missing header with g++?
>>Date=DD: Lun 6 d=C8c 1999 1:21
>>
>
>>STOP SENDING YOUR MATERIAL. I RECEIVE OVER TWO HUNDRED MESSAGES PER DAY A=
ND
>>I NEVER SUBSCRIBE TO YOUR LITS: PLEASE STOP SENDING  MESSAGES AHMED BENAN=
I,
>>ahmed_benani@urbanet.ch
>>---------
>>----------
>>>De=F0: Arcady Genkin <a.genkin@utoronto.ca>
>>>=F8 : freebsd-questions@FreeBSD.ORG
>>>Objet=F0: <sstream> Missing header with g++?
>>>Date=F0: Dim 5 d=BBc 1999 23:22
>>>
>>
>>>Hi. This is kindof offtopic.
>>>
>>>I learned about a class `ostringstream' that allows sending ints and
>>>floats into a string. I then tried finding it in headers, but only
>>>found `strstream'. I proceded to use it, but then I was pointed out
>>>that strstream::str() returns `* char', and therefore is liable to
>>>cause memory leaks. Whereas ostringstrea::str() would return a
>>>`string'.
>>>
>>>I greped around in /usr/include directories on my FreeBSD box, my
>>>Linux box, and my school's Solaris installation, and couldn't find any
>>>reference to ostringstream.
>>>
>>>Does this class or its equivallent exist somewhere?
>>>
>>>Thanks!
>>>--
>>>Arcady Genkin                                http://wgaf.dyndns.org
>>>"'What good is my pity? Is not the pity the cross upon which he who
>>>loves man is nailed?..'" (Zarathustra - F. Nietzsche)
>>>
>>>
>>>To Unsubscribe: send mail to majordomo@FreeBSD.org
>>>with "unsubscribe freebsd-questions" in the body of the message
>>>
>>>
>>
>>
>>To Unsubscribe: send mail to majordomo@FreeBSD.org
>>with "unsubscribe freebsd-questions" in the body of the message
>>
>>
>
>
>To Unsubscribe: send mail to majordomo@FreeBSD.org
>with "unsubscribe freebsd-questions" in the body of the message
>
>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991206135336.8807415468>