M
Michael
Hello,
I can't use STL class 'ostringsstream' in an VC++.net project, because
compilation produces the following error:
Microsoft Visual Studio .NET 2003\Vc7\include\ostream(243): error
C2039: 'failed': no element of
'std:streambuf_iterator<_Elem,_Traits>'
with
[
_Elem=char,
_Traits=std::char_traits<char>
]
Here is my source code:
#include "stdafx.h"
#include <sstream>
int _tmain(int argc, _TCHAR* argv[])
{
std:stringstream os;
int x = 1;
os << x;
return 0;
}
Is anyone knowing what's going wrong ?
thanks in advance
Michael
I can't use STL class 'ostringsstream' in an VC++.net project, because
compilation produces the following error:
Microsoft Visual Studio .NET 2003\Vc7\include\ostream(243): error
C2039: 'failed': no element of
'std:streambuf_iterator<_Elem,_Traits>'
with
[
_Elem=char,
_Traits=std::char_traits<char>
]
Here is my source code:
#include "stdafx.h"
#include <sstream>
int _tmain(int argc, _TCHAR* argv[])
{
std:stringstream os;
int x = 1;
os << x;
return 0;
}
Is anyone knowing what's going wrong ?
thanks in advance
Michael