Code: Show/Hide set<int> set1;
map <Player*, int> map1; |
Quote: |
c:\program files\continuum\mervbot\src\r2g2\dt.h(104) : error C2143: syntax error : missing ';' before '<'
c:\program files\continuum\mervbot\src\r2g2\dt.h(104) : error C2501: 'set' : missing storage-class or type specifiers c:\program files\continuum\mervbot\src\r2g2\dt.h(104) : error C2059: syntax error : '<' c:\program files\continuum\mervbot\src\r2g2\dt.h(104) : error C2238: unexpected token(s) preceding ';' |
Quote: |
c:\program files\continuum\mervbot\src\hostbot\hostbot.h(15) : error C2871: 'std' : does not exist or is not a namespace |
Quote: |
c:\program files\continuum\mervbot\src\hostbot\hostbot.h(15) : error C2871: 'std' : does not exist or is not a namespace |
Code: Show/Hide #include <fstream> using namespace std; right #include <fstream.h> using namespace std; wrong |
Quote: |
c:\program files\continuum\mervbot\src\hostbot\hostbot.h(144) : warning C4786: 'std::pair<std::_Tree<int,int,std::set<int,std::less<int>,std::allocator<int> >::_Kfn,std::less<int>,std::allocator<int> >::const_iterator,std::_Tree<int,int,std::set<int
,std::less<int>,std::allocator<int> >::_Kfn,std::less<int>,std::allocator<int> >::const_iterator>' : identifier was truncated to '255' characters in the debug information c:\program files\continuum\mervbot\src\hostbot\hostbot.h(144) : warning C4786: 'std::reverse_bidirectional_iterator<std::_Tree<Player *,std::pair<Player * const,int>,std::map<Player *,int,std::less<Player *>,std::allocator<int> >::_Kfn,std::less<Pla yer *>,std::allocator<int> >::iterator,std::pair<Player * const,int>,std::pair<Player * const,int> &,std::pair<Player * const,int> *,int>' : identifier was truncated to '255' characters in the debug information c:\program files\continuum\mervbot\src\hostbot\hostbot.h(144) : warning C4786: 'std::reverse_bidirectional_iterator<std::_Tree<Player *,std::pair<Player * const,int>,std::map<Player *,int,std::less<Player *>,std::allocator<int> >::_Kfn,std::less<Pla yer *>,std::allocator<int> >::const_iterator,std::pair<Player * const,int>,std::pair<Player * const,int> const &,std::pair<Player * const,int> const *,int>' : identifier was truncated to '255' characters in the debug information c:\program files\continuum\mervbot\src\hostbot\hostbot.h(144) : warning C4786: 'std::pair<std::_Tree<Player *,std::pair<Player * const,int>,std::map<Player *,int,std::less<Player *>,std::allocator<int> >::_Kfn,std::less<Player *>,std::allocator<int> >::iterator,std::_Tree<Player *,std::pair<Player * const,int>,std::map<Player *,int,std::less<Player *>,std::allocator<int> >::_Kfn,std::less<Player *>,std::allocator<int> >::iterator>' : identifier was truncated to '255' characters in the debug in formation c:\program files\continuum\mervbot\src\hostbot\hostbot.h(144) : warning C4786: 'std::pair<std::_Tree<Player *,std::pair<Player * const,int>,std::map<Player *,int,std::less<Player *>,std::allocator<int> >::_Kfn,std::less<Player *>,std::allocator<int> >::const_iterator,std::_Tree<Player *,std::pair<Player * const,int>,std::map<Player *,int,std::less<Player *>,std::allocator<int> >::_Kfn,std::less<Player *>,std::allocator<int> >::const_iterator>' : identifier was truncated to '255' characters in the debug information |
Quote: |
c:\program files\continuum\mervbot\src\hostbot\spawn.h(242) : error C2664: 'void __thiscall botInfo::sendPublic(char *)' : cannot convert parameter 1 from 'class String' to 'char *'
No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called |
Code: Show/Hide #ifndef HOSTBOT_H #define HOSTBOT_H #include "..\dllcore.h" #include <map> #include <set> #include <iostream> using namespace std; #define WIN32_LEAN_AND_MEAN #include <windows.h> |
D1st0rt wrote: |
ouch Ekted, lol
do you not like the STL? |
Code: Show/Hide String Function (String a, String b)
{ return a + " - " + b; } |