?
Solved

Using map to store information

Posted on 2003-02-20
28
Medium Priority
?
423 Views
Last Modified: 2011-09-20
I need help in storing information that is output from another machine on the network. Is <map> the best way to store and retriev data, instead of using arrays? Anyway I would like to learn how to use them.

As soon as I read the data I want to store the data in memory, Each piece of data is given a name, as soon as more data comes in I want to do a compare of the existing names (if any) in memory to see if the data already exits and if it does, overwrite it, if it doesn't exist, then I want to write the data to the next location in memory. A character array is used to tell me the name of the data.

How do I do this, some code examples would help.

Here is what I have so far:
#include <map>

using namespace std;

typedef struct LookPointEntry
{
   double Az;
   double El;
   double Rng;
   char   Name[50];
}LookPointEntry;


typedef map<int,LookPointEntry *> LookPointDesignateMap;
LookPointDesignateMap Entry;

// The code below is No Good, How do I search the current areas of memory that have been written too???

// caParameter1 contains the name of the data.
if (int i=0; i<=50; i++)
{
   Name[i] = caParameter1[i];
}
//if the Name does not exist write the new entry to memory
if !(Name == caParameter1)
{
  Entry = new LookPointEntry();
  Entry.Az = caParameter2Az;
  Entry.El = caParameter2El;
  Entry.Rng = caprameter2Rng;
  Entry.Name = caParameter1;
}
// if the name exists, overwrite the current data.
How do I do this??????


any help would be appreciated
0
Comment
Question by:GoldStrike
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 14
  • 13
28 Comments
 
LVL 9

Expert Comment

by:tinchos
ID: 7991055
Here's an example of how to do it

suppose te data which needs to be stored is a struct called DATA in a variable called data[i]
and name[i] is the name associated to the data

the name is the key, so it cannot be repeated (in case you want it to be repeated, you must use a multimap.

the idea is the following

supponse the following

typedef map< std::string, DATA > DataMap;
DataMap DataMap;

// Data to be stored in the map
DATA data[100];
// Names to associate to the data
std::string name[100];

// Inserts the data into the map
for( int i = 0; i < 100; i++ )
{
  dataMap.insert( DataMap::value_type( name[i] ) );
}

*******************************************************

in case you want to find the data for a given name

DataMap::const_iterator it = dataMap.find( "givenName" );

if( it == dataMap.end() )
{
   // In this case the "givenName" is not a key in the map
}

*******************************************************

in case you want to make sure the content is replaced

dataMap.erase( "givenName" );
dataMap.erase( DataMap.value_type( "givenName", givenData ) );

Some useful links
http://www.sgi.com/tech/stl/Map.html
http://www.sgi.com/tech/stl/Multimap.html
0
 
LVL 9

Expert Comment

by:tinchos
ID: 7991082
Forgot something

in the map definition (the parameters you pass when you define it), an optional argument can be passed
which is a funcion "less" for arguments of the type of the map key type

in this case, as std::string, has operator < already defined, it is not necesary
0
 
LVL 22

Expert Comment

by:ambience
ID: 7991653
well the exact use of a data-structure does depend upon the situation, are you going to have finite elements or any number of names, is the data going to be large etc.

for e.g. say your data is a few KBs, in that case it might be more efficient to have

std::map< std::string, data_t * >

rather than

std::map< std::string, data_t >

if
typedef struct LookPointEntry
{
  double Az;
  double El;
  double Rng;
  char   Name[50];
}LookPointEntry;


is your data then i would suggest to use the following

struct LookPointEntry
{
  double Az;
  double El;
  double Rng;

  LookPointEntry () {}
  LookPointEntry (const LookPointEntry& o)
  {
     Az = o.Az, El = o.El, Rng = o.Rng;
  }
 
 const LookPointEntry& operator = (const LookPointEntry& o)
 {
     Az = o.Az, El = o.El, Rng = o.Rng;
 }
};

typedef std::map< std::string, LookPointEntry > entry_map;

/////////
how to insert of find is already mentioned by tinchos.
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 9

Expert Comment

by:tinchos
ID: 7994910
Did you find the answer useful or is it something missing?

In any case its time to grade it isnt it?
0
 

Author Comment

by:GoldStrike
ID: 8011504
I apologize, thanks for the answer, I just started looking at it, will have a response soon.
0
 

Author Comment

by:GoldStrike
ID: 8011545
ok tinchos,

I have a struct LookPointEntry where I want to store the data that comes in, is that what you are referencing when you use the data[]???
0
 

Author Comment

by:GoldStrike
ID: 8011591
Tinchos
I get the following errors when I try and compile,

error C2039: 'string' : is not a member of 'std'
error C2065: 'string' : undeclared identifier
error C2065: 'DATA' : undeclared identifier
error C2955: 'map' : use of class template requires template argument list
error C2377: 'DataMap' : redefinition; typedef cannot be overloaded with any other symbol
error C2133: 'DataMap' : unknown size
error C2512: 'map' : no appropriate default constructor available
DataMap' : cannot be destroyed
error C2501: 'DATA' : missing storage-class or type specifiers

LookPointSlotsDlg.obj - 11 error(s), 0 warning(s)
0
 

Author Comment

by:GoldStrike
ID: 8011656
Tinchos
I get the following errors when I try and compile,

error C2039: 'string' : is not a member of 'std'
error C2065: 'string' : undeclared identifier
error C2065: 'DATA' : undeclared identifier
error C2955: 'map' : use of class template requires template argument list
error C2377: 'DataMap' : redefinition; typedef cannot be overloaded with any other symbol
error C2133: 'DataMap' : unknown size
error C2512: 'map' : no appropriate default constructor available
DataMap' : cannot be destroyed
error C2501: 'DATA' : missing storage-class or type specifiers

LookPointSlotsDlg.obj - 11 error(s), 0 warning(s)
0
 

Author Comment

by:GoldStrike
ID: 8011680
Can you better explain this
"suppose te data which needs to be stored is a struct called DATA in a variable called data[i]
and name[i] is the name associated to the data "

are you saying??
struct DATA
{
  data[i];
}name[i];

0
 

Author Comment

by:GoldStrike
ID: 8011759
Can you better explain this
"suppose te data which needs to be stored is a struct called DATA in a variable called data[i]
and name[i] is the name associated to the data "

are you saying??
struct DATA
{
  data[i];
}name[i];

0
 
LVL 9

Expert Comment

by:tinchos
ID: 8013525
DATA is the struct that contains the data that you want to store

in this case if i'm not mistaken it would be

typedef struct LookPointEntry
{
  double Az;
  double El;
  double Rng;
  char   Name[50];
}DATA;


and the errors are because you didnt include the string and the map header

try something like this

#include <string>
#include <map>

typedef struct LookPointEntry
{
  double Az;
  double El;
  double Rng;
  char   Name[50];
}DATA;

typedef map< std::string, DATA > DataMap;

main()
{
DataMap DataMap;

// Data to be stored in the map
DATA data[100];
// Names to associate to the data
std::string name[100];

// Code of your function
......................................................

}
0
 

Author Comment

by:GoldStrike
ID: 8017555
thanks,
"
main()
{
DataMap DataMap;  "

Do you mean :
DataMap dataMap, I noticed in your first comment that you used "dataMap.insert( DataMap::value_type( name[i] ) ); "

Anyway, I get the following warnings when I compile after I insert DataMap DataMap as a private member in my class.


Compiling...
LookPointSlotsDlg.cpp
c:\program files\microsoft visual studio\vc98\include\xtree(118) : warning C4786: 'std::_Tree<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char> > const ,
LookPointEntry>,std::map<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,LookPointEntry,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::_Kfn,std::less<std::basic
_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >' : identifier was truncated to '255' characters in the debug information
        c:\program files\microsoft visual studio\vc98\include\map(46) : see reference to class template instantiation 'std::_Tree<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::pair<std::basic_string<char,std::char_traits<
char>,std::allocator<char> > const ,LookPointEntry>,std::map<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,LookPointEntry,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPoin
tEntry> >::_Kfn,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >' being compiled
        d:\hugo\visual c++ cm\graphics\displaythree_008\lookpointslotsdlg.h(151) : see reference to class template instantiation 'std::map<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,LookPointEntry,std::less<std::basic_strin
g<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >' being compiled
c:\program files\microsoft visual studio\vc98\include\xtree(118) : warning C4786: 'std::_Tree<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char> > const ,
LookPointEntry>,std::map<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,LookPointEntry,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::_Kfn,std::less<std::basic
_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::const_iterator' : identifier was truncated to '255' characters in the debug information
        c:\program files\microsoft visual studio\vc98\include\map(46) : see reference to class template instantiation 'std::_Tree<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::pair<std::basic_string<char,std::char_traits<
char>,std::allocator<char> > const ,LookPointEntry>,std::map<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,LookPointEntry,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPoin
tEntry> >::_Kfn,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >' being compiled
        d:\hugo\visual c++ cm\graphics\displaythree_008\lookpointslotsdlg.h(151) : see reference to class template instantiation 'std::map<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,LookPointEntry,std::less<std::basic_strin
g<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >' being compiled
c:\program files\microsoft visual studio\vc98\include\xtree(118) : warning C4786: 'std::_Tree<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char> > const ,
LookPointEntry>,std::map<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,LookPointEntry,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::_Kfn,std::less<std::basic
_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::iterator' : identifier was truncated to '255' characters in the debug information
        c:\program files\microsoft visual studio\vc98\include\map(46) : see reference to class template instantiation 'std::_Tree<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::pair<std::basic_string<char,std::char_traits<
char>,std::allocator<char> > const ,LookPointEntry>,std::map<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,LookPointEntry,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPoin
tEntry> >::_Kfn,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >' being compiled
        d:\hugo\visual c++ cm\graphics\displaythree_008\lookpointslotsdlg.h(151) : see reference to class template instantiation 'std::map<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,LookPointEntry,std::less<std::basic_strin
g<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >' being compiled
c:\program files\microsoft visual studio\vc98\include\xtree(118) : warning C4786: 'std::_Tree<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char> > const ,
LookPointEntry>,std::map<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,LookPointEntry,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::_Kfn,std::less<std::basic
_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::_Node' : identifier was truncated to '255' characters in the debug information
        c:\program files\microsoft visual studio\vc98\include\map(46) : see reference to class template instantiation 'std::_Tree<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::pair<std::basic_string<char,std::char_traits<
char>,std::allocator<char> > const ,LookPointEntry>,std::map<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,LookPointEntry,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPoin
tEntry> >::_Kfn,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >' being compiled
        d:\hugo\visual c++ cm\graphics\displaythree_008\lookpointslotsdlg.h(151) : see reference to class template instantiation 'std::map<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,LookPointEntry,std::less<std::basic_strin
g<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >' being compiled
c:\program files\microsoft visual studio\vc98\include\xtree(118) : warning C4786: 'std::_Tree<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char> > const ,
LookPointEntry>,std::map<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,LookPointEntry,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::_Kfn,std::less<std::basic
_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::const_iterator' : identifier was truncated to '255' characters in the debug information
        c:\program files\microsoft visual studio\vc98\include\map(46) : see reference to class template instantiation 'std::_Tree<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::pair<std::basic_string<char,std::char_traits<
char>,std::allocator<char> > const ,LookPointEntry>,std::map<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,LookPointEntry,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPoin
tEntry> >::_Kfn,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >' being compiled
        d:\hugo\visual c++ cm\graphics\displaythree_008\lookpointslotsdlg.h(151) : see reference to class template instantiation 'std::map<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,LookPointEntry,std::less<std::basic_strin
g<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >' being compiled
d:\hugo\visual c++ cm\graphics\displaythree_008\lookpointslotsdlg.cpp(115) : warning C4786: 'std::reverse_bidirectional_iterator<std::_Tree<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::pair<std::basic_string<char,std::ch
ar_traits<char>,std::allocator<char> > const ,LookPointEntry>,std::map<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,LookPointEntry,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocato
r<LookPointEntry> >::_Kfn,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::iterator,std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char> > const ,LookPointEntr
y>,std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char> > const ,LookPointEntry> &,std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char> > const ,LookPointEntry> *,int>' : identifier was truncated to '2
55' characters in the debug information
d:\hugo\visual c++ cm\graphics\displaythree_008\lookpointslotsdlg.cpp(115) : warning C4786: 'std::reverse_bidirectional_iterator<std::_Tree<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::pair<std::basic_string<char,std::ch
ar_traits<char>,std::allocator<char> > const ,LookPointEntry>,std::map<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,LookPointEntry,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocato
r<LookPointEntry> >::_Kfn,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::const_iterator,std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char> > const ,LookPoi
ntEntry>,std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char> > const ,LookPointEntry> const &,std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char> > const ,LookPointEntry> const *,int>' : identifier w
as truncated to '255' characters in the debug information
d:\hugo\visual c++ cm\graphics\displaythree_008\lookpointslotsdlg.cpp(115) : warning C4786: 'std::pair<std::_Tree<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::pair<std::basic_string<char,std::char_traits<char>,std::alloc
ator<char> > const ,LookPointEntry>,std::map<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,LookPointEntry,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::_Kfn,
std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::iterator,bool>' : identifier was truncated to '255' characters in the debug information
d:\hugo\visual c++ cm\graphics\displaythree_008\lookpointslotsdlg.cpp(115) : warning C4786: 'std::pair<std::_Tree<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::pair<std::basic_string<char,std::char_traits<char>,std::alloc
ator<char> > const ,LookPointEntry>,std::map<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,LookPointEntry,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::_Kfn,
std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::iterator,std::_Tree<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::pair<std::basic_string<char,std::char_tr
aits<char>,std::allocator<char> > const ,LookPointEntry>,std::map<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,LookPointEntry,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<Loo
kPointEntry> >::_Kfn,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::iterator>' : identifier was truncated to '255' characters in the debug information
d:\hugo\visual c++ cm\graphics\displaythree_008\lookpointslotsdlg.cpp(115) : warning C4786: 'std::pair<std::_Tree<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::pair<std::basic_string<char,std::char_traits<char>,std::alloc
ator<char> > const ,LookPointEntry>,std::map<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,LookPointEntry,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::_Kfn,
std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::const_iterator,std::_Tree<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::pair<std::basic_string<char,std::c
har_traits<char>,std::allocator<char> > const ,LookPointEntry>,std::map<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,LookPointEntry,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocat
or<LookPointEntry> >::_Kfn,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::const_iterator>' : identifier was truncated to '255' characters in the debug information
c:\program files\microsoft visual studio\vc98\include\xtree(174) : warning C4786: 'std::_Tree<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char> > const ,
LookPointEntry>,std::map<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,LookPointEntry,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::_Kfn,std::less<std::basic
_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::iterator' : identifier was truncated to '255' characters in the debug information
        c:\program files\microsoft visual studio\vc98\include\xtree(174) : while compiling class-template member function '__thiscall std::_Tree<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::pair<std::basic_string<char,st
d::char_traits<char>,std::allocator<char> > const ,LookPointEntry>,std::map<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,LookPointEntry,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::all
ocator<LookPointEntry> >::_Kfn,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::~std::_Tree<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::pair<std::basic_s
tring<char,std::char_traits<char>,std::allocator<char> > const ,LookPointEntry>,std::map<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,LookPointEntry,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char>
 > >,std::allocator<LookPointEntry> >::_Kfn,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >(void)'
c:\program files\microsoft visual studio\vc98\include\xtree(183) : warning C4786: 'std::_Tree<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char> > const ,
LookPointEntry>,std::map<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,LookPointEntry,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::_Kfn,std::less<std::basic
_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::_Redbl' : identifier was truncated to '255' characters in the debug information
        c:\program files\microsoft visual studio\vc98\include\xtree(174) : while compiling class-template member function '__thiscall std::_Tree<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::pair<std::basic_string<char,st
d::char_traits<char>,std::allocator<char> > const ,LookPointEntry>,std::map<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,LookPointEntry,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::all
ocator<LookPointEntry> >::_Kfn,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::~std::_Tree<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::pair<std::basic_s
tring<char,std::char_traits<char>,std::allocator<char> > const ,LookPointEntry>,std::map<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,LookPointEntry,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char>
 > >,std::allocator<LookPointEntry> >::_Kfn,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >(void)'
c:\program files\microsoft visual studio\vc98\include\xtree(183) : warning C4786: '_Tree<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char> > const ,LookP
ointEntry>,std::map<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,L' : identifier was truncated to '255' characters in the debug information
        c:\program files\microsoft visual studio\vc98\include\xtree(174) : while compiling class-template member function '__thiscall std::_Tree<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,struct std::pair
<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const ,struct LookPointEntry>,struct std::map<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,struct LookPointEntry,stru
ct std::less<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >,class std::allocator<struct LookPointEntry> >::_Kfn,struct std::less<class std::basic_string<char,struct std::char_traits<char>,class std::allocat
or<char> > >,class std::allocator<struct LookPointEntry> >::~std::_Tree<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,struct std::pair<class std::basic_string<char,struct std::char_traits<char>,class std::al
locator<char> > const ,struct LookPointEntry>,struct std::map<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,struct LookPointEntry,struct std::less<class std::basic_string<char,struct std::char_traits<char>,c
lass std::allocator<char> > >,class std::allocator<struct LookPointEntry> >::_Kfn,struct std::less<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >,class std::allocator<struct LookPointEntry> >(void)'
c:\program files\microsoft visual studio\vc98\include\xtree(183) : warning C4786: '~_Tree<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char> > const ,Look
PointEntry>,std::map<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,' : identifier was truncated to '255' characters in the debug information
        c:\program files\microsoft visual studio\vc98\include\xtree(174) : while compiling class-template member function '__thiscall std::_Tree<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,struct std::pair
<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const ,struct LookPointEntry>,struct std::map<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,struct LookPointEntry,stru
ct std::less<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >,class std::allocator<struct LookPointEntry> >::_Kfn,struct std::less<class std::basic_string<char,struct std::char_traits<char>,class std::allocat
or<char> > >,class std::allocator<struct LookPointEntry> >::~std::_Tree<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,struct std::pair<class std::basic_string<char,struct std::char_traits<char>,class std::al
locator<char> > const ,struct LookPointEntry>,struct std::map<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,struct LookPointEntry,struct std::less<class std::basic_string<char,struct std::char_traits<char>,c
lass std::allocator<char> > >,class std::allocator<struct LookPointEntry> >::_Kfn,struct std::less<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >,class std::allocator<struct LookPointEntry> >(void)'
c:\program files\microsoft visual studio\vc98\include\xtree(183) : warning C4786: 'std::_Tree<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char> > const ,
LookPointEntry>,std::map<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,LookPointEntry,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::_Kfn,std::less<std::basic
_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >' : identifier was truncated to '255' characters in the debug information
        c:\program files\microsoft visual studio\vc98\include\xtree(174) : while compiling class-template member function '__thiscall std::_Tree<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::pair<std::basic_string<char,st
d::char_traits<char>,std::allocator<char> > const ,LookPointEntry>,std::map<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,LookPointEntry,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::all
ocator<LookPointEntry> >::_Kfn,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::~std::_Tree<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::pair<std::basic_s
tring<char,std::char_traits<char>,std::allocator<char> > const ,LookPointEntry>,std::map<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,LookPointEntry,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char>
 > >,std::allocator<LookPointEntry> >::_Kfn,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >(void)'
c:\program files\microsoft visual studio\vc98\include\xtree(183) : warning C4786: 'std::_Tree<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char> > const ,
LookPointEntry>,std::map<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,LookPointEntry,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::_Kfn,std::less<std::basic
_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::_Node' : identifier was truncated to '255' characters in the debug information
        c:\program files\microsoft visual studio\vc98\include\xtree(174) : while compiling class-template member function '__thiscall std::_Tree<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::pair<std::basic_string<char,st
d::char_traits<char>,std::allocator<char> > const ,LookPointEntry>,std::map<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,LookPointEntry,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::all
ocator<LookPointEntry> >::_Kfn,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::~std::_Tree<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::pair<std::basic_s
tring<char,std::char_traits<char>,std::allocator<char> > const ,LookPointEntry>,std::map<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,LookPointEntry,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char>
 > >,std::allocator<LookPointEntry> >::_Kfn,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >(void)'
warning C4786: 'std::map<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,LookPointEntry,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::~map<std::basic_string<ch
ar,std::char_traits<char>,std::allocator<char> >,LookPointEntry,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >' : identifier was truncated to '255' characters in the debug informatio
n
c:\program files\microsoft visual studio\vc98\include\map(57) : warning C4786: 'std::map<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,LookPointEntry,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char>
 > >,std::allocator<LookPointEntry> >::map<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,LookPointEntry,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >' : ident
ifier was truncated to '255' characters in the debug information
c:\program files\microsoft visual studio\vc98\include\xtree(183) : warning C4786: 'std::_Tree<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char> > const ,
LookPointEntry>,std::map<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,LookPointEntry,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::_Kfn,std::less<std::basic
_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::~_Tree<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char> >
 const ,LookPointEntry>,std::map<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,LookPointEntry,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::_Kfn,std::less<st
d::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >' : identifier was truncated to '255' characters in the debug information
c:\program files\microsoft visual studio\vc98\include\xtree(160) : warning C4786: 'std::_Tree<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char> > const ,
LookPointEntry>,std::map<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,LookPointEntry,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::_Kfn,std::less<std::basic
_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::_Tree<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char> > 
const ,LookPointEntry>,std::map<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,LookPointEntry,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::_Kfn,std::less<std
::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >' : identifier was truncated to '255' characters in the debug information
c:\program files\microsoft visual studio\vc98\include\xtree(191) : warning C4786: 'std::_Tree<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char> > const ,
LookPointEntry>,std::map<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,LookPointEntry,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::_Kfn,std::less<std::basic
_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::begin' : identifier was truncated to '255' characters in the debug information
c:\program files\microsoft visual studio\vc98\include\xtree(195) : warning C4786: 'std::_Tree<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char> > const ,
LookPointEntry>,std::map<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,LookPointEntry,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::_Kfn,std::less<std::basic
_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::end' : identifier was truncated to '255' characters in the debug information
c:\program files\microsoft visual studio\vc98\include\xtree(369) : warning C4786: 'std::_Tree<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char> > const ,
LookPointEntry>,std::map<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,LookPointEntry,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::_Kfn,std::less<std::basic
_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::erase' : identifier was truncated to '255' characters in the debug information
c:\program files\microsoft visual studio\vc98\include\xtree(585) : warning C4786: 'std::_Tree<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char> > const ,
LookPointEntry>,std::map<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,LookPointEntry,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::_Kfn,std::less<std::basic
_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::_Freenode' : identifier was truncated to '255' characters in the debug information
c:\program files\microsoft visual studio\vc98\include\xtree(207) : warning C4786: 'std::_Tree<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char> > const ,
LookPointEntry>,std::map<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,LookPointEntry,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::_Kfn,std::less<std::basic
_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::size' : identifier was truncated to '255' characters in the debug information
c:\program files\microsoft visual studio\vc98\include\xtree(359) : warning C4786: 'std::_Tree<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char> > const ,
LookPointEntry>,std::map<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,LookPointEntry,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::_Kfn,std::less<std::basic
_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::erase' : identifier was truncated to '255' characters in the debug information
c:\program files\microsoft visual studio\vc98\include\xtree(446) : warning C4786: 'std::_Tree<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char> > const ,
LookPointEntry>,std::map<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,LookPointEntry,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::_Kfn,std::less<std::basic
_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::_Erase' : identifier was truncated to '255' characters in the debug information
c:\program files\microsoft visual studio\vc98\include\xtree(458) : warning C4786: '__ehhandler$?_Init@?$_Tree@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@U?$pair@$$CBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@ULo
okPointEntry@@@2@U_Kfn@?$map@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@ULookPointEntry@@U?$less@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@V?$allocator@ULookPointEntry@@@2@@2@U?$less@V?$basic_string@DU?$char
_traits@D@std@@V?$allocator@D@2@@std@@@2@V?$allocator@ULookPointEntry@@@2@@std@@IAEXXZ' : identifier was truncated to '255' characters in the debug information
c:\program files\microsoft visual studio\vc98\include\xtree(458) : warning C4786: '__unwindfunclet$?_Init@?$_Tree@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@U?$pair@$$CBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@
@ULookPointEntry@@@2@U_Kfn@?$map@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@ULookPointEntry@@U?$less@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@V?$allocator@ULookPointEntry@@@2@@2@U?$less@V?$basic_string@DU?$
char_traits@D@std@@V?$allocator@D@2@@std@@@2@V?$allocator@ULookPointEntry@@@2@@std@@IAEXXZ$0' : identifier was truncated to '255' characters in the debug information
c:\program files\microsoft visual studio\vc98\include\xtree(458) : warning C4786: 'std::_Tree<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char> > const ,
LookPointEntry>,std::map<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,LookPointEntry,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::_Kfn,std::less<std::basic
_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::_Init' : identifier was truncated to '255' characters in the debug information
c:\program files\microsoft visual studio\vc98\include\xtree(518) : warning C4786: 'std::_Tree<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char> > const ,
LookPointEntry>,std::map<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,LookPointEntry,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::_Kfn,std::less<std::basic
_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::_Lmost' : identifier was truncated to '255' characters in the debug information
c:\program files\microsoft visual studio\vc98\include\xtree(544) : warning C4786: 'std::_Tree<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char> > const ,
LookPointEntry>,std::map<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,LookPointEntry,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::_Kfn,std::less<std::basic
_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::_Rmost' : identifier was truncated to '255' characters in the debug information
c:\program files\microsoft visual studio\vc98\include\xtree(548) : warning C4786: 'std::_Tree<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char> > const ,
LookPointEntry>,std::map<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,LookPointEntry,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::_Kfn,std::less<std::basic
_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::_Root' : identifier was truncated to '255' characters in the debug information
c:\program files\microsoft visual studio\vc98\include\xtree(122) : warning C4786: 'std::_Tree<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char> > const ,
LookPointEntry>,std::map<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,LookPointEntry,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::_Kfn,std::less<std::basic
_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::iterator::iterator' : identifier was truncated to '255' characters in the debug information
c:\program files\microsoft visual studio\vc98\include\xtree(134) : warning C4786: 'std::_Tree<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char> > const ,
LookPointEntry>,std::map<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,LookPointEntry,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::_Kfn,std::less<std::basic
_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::iterator::operator++' : identifier was truncated to '255' characters in the debug information
c:\program files\microsoft visual studio\vc98\include\xtree(145) : warning C4786: 'std::_Tree<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char> > const ,
LookPointEntry>,std::map<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,LookPointEntry,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::_Kfn,std::less<std::basic
_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::iterator::operator!=' : identifier was truncated to '255' characters in the debug information
c:\program files\microsoft visual studio\vc98\include\xtree(36) : warning C4786: 'std::_Tree<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char> > const ,L
ookPointEntry>,std::map<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,LookPointEntry,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::_Kfn,std::less<std::basic_
string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::_Color' : identifier was truncated to '255' characters in the debug information
c:\program files\microsoft visual studio\vc98\include\xtree(40) : warning C4786: 'std::_Tree<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char> > const ,L
ookPointEntry>,std::map<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,LookPointEntry,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::_Kfn,std::less<std::basic_
string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::_Left' : identifier was truncated to '255' characters in the debug information
c:\program files\microsoft visual studio\vc98\include\xtree(42) : warning C4786: 'std::_Tree<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char> > const ,L
ookPointEntry>,std::map<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,LookPointEntry,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::_Kfn,std::less<std::basic_
string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::_Parent' : identifier was truncated to '255' characters in the debug information
c:\program files\microsoft visual studio\vc98\include\xtree(44) : warning C4786: 'std::_Tree<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char> > const ,L
ookPointEntry>,std::map<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,LookPointEntry,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::_Kfn,std::less<std::basic_
string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::_Right' : identifier was truncated to '255' characters in the debug information
c:\program files\microsoft visual studio\vc98\include\xtree(46) : warning C4786: 'std::_Tree<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char> > const ,L
ookPointEntry>,std::map<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,LookPointEntry,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::_Kfn,std::less<std::basic_
string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::_Value' : identifier was truncated to '255' characters in the debug information
c:\program files\microsoft visual studio\vc98\include\xtree(534) : warning C4786: 'std::_Tree<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char> > const ,
LookPointEntry>,std::map<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,LookPointEntry,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::_Kfn,std::less<std::basic
_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::_Lrotate' : identifier was truncated to '255' characters in the debug information
c:\program files\microsoft visual studio\vc98\include\xtree(538) : warning C4786: 'std::_Tree<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char> > const ,
LookPointEntry>,std::map<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,LookPointEntry,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::_Kfn,std::less<std::basic
_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::_Max' : identifier was truncated to '255' characters in the debug information
c:\program files\microsoft visual studio\vc98\include\xtree(542) : warning C4786: 'std::_Tree<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char> > const ,
LookPointEntry>,std::map<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,LookPointEntry,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::_Kfn,std::less<std::basic
_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::_Min' : identifier was truncated to '255' characters in the debug information
c:\program files\microsoft visual studio\vc98\include\xtree(564) : warning C4786: 'std::_Tree<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char> > const ,
LookPointEntry>,std::map<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,LookPointEntry,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::_Kfn,std::less<std::basic
_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::_Rrotate' : identifier was truncated to '255' characters in the debug information
c:\program files\microsoft visual studio\vc98\include\xtree(579) : warning C4786: 'std::_Tree<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char> > const ,
LookPointEntry>,std::map<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,LookPointEntry,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::_Kfn,std::less<std::basic
_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::_Buynode' : identifier was truncated to '255' characters in the debug information
c:\program files\microsoft visual studio\vc98\include\xtree(583) : warning C4786: 'std::_Tree<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char> > const ,
LookPointEntry>,std::map<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,LookPointEntry,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::_Kfn,std::less<std::basic
_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::_Destval' : identifier was truncated to '255' characters in the debug information
c:\program files\microsoft visual studio\vc98\include\xtree(65) : warning C4786: 'std::_Tree<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char> > const ,L
ookPointEntry>,std::map<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,LookPointEntry,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::_Kfn,std::less<std::basic_
string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::const_iterator::const_iterator' : identifier was truncated to '255' characters in the debug information
c:\program files\microsoft visual studio\vc98\include\xtree(112) : warning C4786: 'std::_Tree<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char> > const ,
LookPointEntry>,std::map<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,LookPointEntry,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::_Kfn,std::less<std::basic
_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::const_iterator::_Mynode' : identifier was truncated to '255' characters in the debug information
c:\program files\microsoft visual studio\vc98\include\xtree(130) : warning C4786: 'std::_Tree<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char> > const ,
LookPointEntry>,std::map<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,LookPointEntry,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::_Kfn,std::less<std::basic
_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::iterator::operator++' : identifier was truncated to '255' characters in the debug information
c:\program files\microsoft visual studio\vc98\include\xtree(143) : warning C4786: 'std::_Tree<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char> > const ,
LookPointEntry>,std::map<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,LookPointEntry,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::_Kfn,std::less<std::basic
_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::iterator::operator==' : identifier was truncated to '255' characters in the debug information
c:\program files\microsoft visual studio\vc98\include\xtree(110) : warning C4786: 'std::_Tree<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char> > const ,
LookPointEntry>,std::map<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,LookPointEntry,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::_Kfn,std::less<std::basic
_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::const_iterator::_Inc' : identifier was truncated to '255' characters in the debug information
warning C4786: 'std::_Tree<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char> > const ,LookPointEntry>,std::map<std::basic_string<char,std::char_traits<ch
ar>,std::allocator<char> >,LookPointEntry,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::_Kfn,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::a
llocator<LookPointEntry> >::_Nil' : identifier was truncated to '255' characters in the debug information
warning C4786: 'std::_Tree<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char> > const ,LookPointEntry>,std::map<std::basic_string<char,std::char_traits<ch
ar>,std::allocator<char> >,LookPointEntry,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::_Kfn,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::a
llocator<LookPointEntry> >::_Nilrefs' : identifier was truncated to '255' characters in the debug information
warning C4786: 'std::_Tree<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char> > const ,LookPointEntry>,std::map<std::basic_string<char,std::char_traits<ch
ar>,std::allocator<char> >,LookPointEntry,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::_Kfn,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::a
llocator<LookPointEntry> >' : identifier was truncated to '255' characters in the debug information
warning C4786: 'std::_Tree<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char> > const ,LookPointEntry>,std::map<std::basic_string<char,std::char_traits<ch
ar>,std::allocator<char> >,LookPointEntry,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::_Kfn,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::a
llocator<LookPointEntry> >::const_iterator' : identifier was truncated to '255' characters in the debug information
warning C4786: 'std::_Tree<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char> > const ,LookPointEntry>,std::map<std::basic_string<char,std::char_traits<ch
ar>,std::allocator<char> >,LookPointEntry,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::_Kfn,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::a
llocator<LookPointEntry> >::iterator' : identifier was truncated to '255' characters in the debug information
warning C4786: 'std::_Tree<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char> > const ,LookPointEntry>,std::map<std::basic_string<char,std::char_traits<ch
ar>,std::allocator<char> >,LookPointEntry,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::_Kfn,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::a
llocator<LookPointEntry> >::_Node' : identifier was truncated to '255' characters in the debug information
warning C4786: 'std::_Tree<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char> > const ,LookPointEntry>,std::map<std::basic_string<char,std::char_traits<ch
ar>,std::allocator<char> >,LookPointEntry,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<LookPointEntry> >::_Kfn,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::a
llocator<LookPointEntry> >::_Redbl' : identifier was truncated to '255' characters in the debug information

LookPointSlotsDlg.obj - 0 error(s), 59 warning(s)

0
 
LVL 9

Expert Comment

by:tinchos
ID: 8017647
well, glad it worked

those are warnings only and appear in all files using std::map

add

#ifdef _MSC_VER
#pragma warning( disable : 4786 ) // 255 char length
#endif

at the beggining of your code and its all done
0
 
LVL 9

Expert Comment

by:tinchos
ID: 8017767
yeah, i wanted to say that, sorry

DataMap dataMap;

info about the warning 4786 its giving you

http://support.microsoft.com/default.aspx?scid=kb;en-us;122539

0
 

Author Comment

by:GoldStrike
ID: 8018172
thanks,
That cleared that up.

One last question with a problem I am having.
When I try to insert data I get the following error:
// Data to be stored in the map
DATA data[100];
// Names to associate to the data
std::string name[100];

// Inserts the data into the map
for( int i = 0; i < 100; i++ )
{
 dataMap.insert( DataMap::value_type( name[i] ) );
}


Compiling...
LookPointSlotsDlg.cpp
D:\HUGO\Visual C++ CM\Graphics\DisplayThree_008\LookPointSlotsDlg.cpp(468) : error C2440: 'type cast' : cannot convert from 'class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >' to 'struct std::pair<class std::bas
ic_string<char,struct std::char_traits<char>,class std::allocator<char> > const ,struct LookPointEntry>'
        No constructor could take the source type, or constructor overload resolution was ambiguous
Error executing cl.exe.

LookPointSlotsDlg.obj - 1 error(s), 0 warning(s)
0
 
LVL 9

Expert Comment

by:tinchos
ID: 8018632
try with

// Inserts the data into the map
for( int i = 0; i < 100; i++ )
{
dataMap.insert( DataMap::value_type( name[i], DATA[i] ) );
}
0
 
LVL 9

Expert Comment

by:tinchos
ID: 8019031
i guess that should be working
0
 

Author Comment

by:GoldStrike
ID: 8019798
ok that worked,

There always seems to be another question, I'm trying to fully understand what the map template is doing.

typedef struct LookPointEntry
{
 double Az;
 double El;
 double Rng;
 char   Name[50];
}DATA;

In your example:
for( int i = 0; i < 100; i++ )
{
dataMap.insert( DataMap::value_type( name[i], DATA[i] ) );
}

It appears the dataMap.insert saves the name to the dataMap. Do I also have to save the values for Az,El,Rng and Name{50] to the dataMap also or do I just populate the array elements in data[100]???
Do I have to allocate memory for the LookPointEntry structure or is DataMap doing this for me??
Data data[100] = new LookPointEntry;

thanks
0
 

Author Comment

by:GoldStrike
ID: 8020034
Also, when I try and erase a dataMap I get the following error.

dataMap.erase( name[lpIndex]);
dataMap.erase( DataMap.value_type( name[lpIndex], data[lpIndex] ) );

Compiling...
LookPointSlotsDlg.cpp
D:\HUGO\Visual C++ CM\Graphics\DisplayThree_008\LookPointSlotsDlg.cpp(493) : error C2274: 'function-style cast' : illegal as right side of '.' operator
Error executing cl.exe.

LookPointSlotsDlg.obj - 1 error(s), 0 warning(s)
0
 
LVL 9

Expert Comment

by:tinchos
ID: 8020052
first of all

change the struct for the following (the name is the key of the map, so it is not necessary to place it inside the DATA struct

typedef struct LookPointEntry
{
double Az;
double El;
double Rng;
}DATA;

now, each of the map elements then contains the
pair<name, DATA>

so, you can have the following map

ie:

"name1", structData1( Az1, El1, Rng1 )
"name2", structData2( Az2, El2, Rng2 )
"name3", structData3( Az3, El3, Rng3 )
"name4", structData4( Az4, El4, Rng4 )

and so on

i hope its clear enough
0
 

Author Comment

by:GoldStrike
ID: 8020055
the error should have been:

Compiling...
LookPointSlotsDlg.cpp
D:\LookPointSlotsDlg.cpp(493) : error C2664: 'class std::_Tree<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,struct std::pair<class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > const ,struct LookPointEntry>,struct std::map<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,struct LookPointEntry,struct std::less<class std::basic_string<
char,struct std::char_traits<char>,class std::allocator<char> > >,class std::allocator<struct LookPointEntry> >::_Kfn,struct std::less<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >,class std::allocator<str
uct LookPointEntry> >::iterator __thiscall std::map<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,struct LookPointEntry,struct std::less<class std::basic_string<char,struct std::char_traits<char>,class std::
allocator<char> > >,class std::allocator<struct LookPointEntry> >::erase(class std::_Tree<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,struct std::pair<class std::basic_string<char,struct std::char_traits<c
har>,class std::allocator<char> > const ,struct LookPointEntry>,struct std::map<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,struct LookPointEntry,struct std::less<class std::basic_string<char,struct std::c
har_traits<char>,class std::allocator<char> > >,class std::allocator<struct LookPointEntry> >::_Kfn,struct std::less<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >,class std::allocator<struct LookPointEntry
> >::iterator)' : cannot convert parameter 1 from 'struct std::pair<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const ,struct LookPointEntry>' to 'class std::_Tree<class std::basic_string<char,struct std::
char_traits<char>,class std::allocator<char> >,struct st
::pair<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const ,struct LookPointEntry>,struct std::map<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,struct LookPointEntr
y,struct std::less<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >,class std::allocator<struct LookPointEntry> >::_Kfn,struct std::less<class std::basic_string<char,struct std::char_traits<char>,class std::a
llocator<char> > >,class std::allocator<struct LookPointEntry> >::iterator'
        No constructor could take the source type, or constructor overload resolution was ambiguous
Error executing cl.exe.

LookPointSlotsDlg.obj - 1 error(s), 0 warning(s)
0
 
LVL 9

Expert Comment

by:tinchos
ID: 8020115
sorry

i didnt understand that

0
 

Author Comment

by:GoldStrike
ID: 8020214
thanks for your last explanation, that cleared up alot.

My last question above is if I find a name that already exists how do I go about replacing the data, I want to leave the name alone, just replace the data.

In your example
"in case you want to make sure the content is replaced

dataMap.erase( "givenName" );
dataMap.erase( DataMap.value_type("givenName",givenData));"

gives me an error, can you explain how this erase works.

thanks
0
 
LVL 9

Accepted Solution

by:
tinchos earned 2000 total points
ID: 8021241
sorry

my mistake when typing

the idea is to erase the "givenName" record from the map before inserting

try with this and it should be all done then


dataMap.erase( "givenName" );
dataMap.insert( DataMap.value_type( "givenName", givenData ) );

0
 

Author Comment

by:GoldStrike
ID: 8021334
thanks tinchos,

Everything worked!!
0
 
LVL 9

Expert Comment

by:tinchos
ID: 8021373
ok, finally

i'm glad it worked.....

that will be all then
accept the question and celebrate

:D
0
 

Author Comment

by:GoldStrike
ID: 8026144
tinchos,
I've been doing some additional debugging and I have a problem with the map::erase function, or at least I think it is a problem.

When I start to add names, example
"name1", structData1( Az1, El1, Rng1 )
"name2", structData2( Az2, El2, Rng2 )
"name3", structData3( Az3, El3, Rng3 )
 then I add name1 again with different data, I do
dataMap.erase( "name1" );
dataMap.insert( DataMap.value_type( "name1", givenData ) );
 
the result is that name1 is added to the end of the map, and is still present as the first element in the map. I now
have name1 as two elements in the map. example
"name1", structData1( Az1, El1, Rng1 )
"name2", structData2( Az2, El2, Rng2 )
"name3", structData3( Az3, El3, Rng3 )
"name1", structData1( Az1, El1, Rng1 )

What I would like to do is replace name1 data with new data so that only the structData1 is changed. If I cannot do this then I would like to delete name1 and add it back into the map.

thanks
0
 
LVL 9

Expert Comment

by:tinchos
ID: 8027540
I wrote a response in the new thread

 
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In days of old, returning something by value from a function in C++ was necessarily avoided because it would, invariably, involve one or even two copies of the object being created and potentially costly calls to a copy-constructor and destructor. A…
Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.
Suggested Courses
Course of the Month9 days, 23 hours left to enroll

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question