Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

need help with weird error

Status
Not open for further replies.

crevard

Programmer
Dec 4, 2003
3
0
0
FR
hello

i've been working on a programm for a couple of weeks now.
Today i had changes to add just a simple extar print line.
Now i get a weird looking error i cannot identify.
Any helpp is greatly appreciated.

looks like this:

C:\Program Files\SensAble\GHOST\v4.0\external\stl\string(2377) : error C2039: 'begin' : is not a member of 'basic_string<char,struct char_traits<char>,class __default_alloc_template<1,0> >'
C:\Program Files\SensAble\GHOST\v4.0\external\stl\string(2396) : see reference to function template instantiation 'unsigned int __cdecl __stl_string_hash(const class basic_string<char,struct char_traits<char>,class __default_alloc_template<1
,0> > &)' being compiled

my problem is i'm not using the string class in any way further it being an stl library there isn't nay error in it.

thanks a lot
 
2 things:

a) Either you are not using the following methods:

using namespace std;

or

std::vector <int> m_vMyInts;

b) You are forgetting your brackets after begin:

m_vMyInts.begin ----> m_vMyInts.begin()


Try those

Skute

&quot;There are 10 types of people in this World, those that understand binary, and those that don't!&quot;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top