首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > C++ >

哪位高手来教教我

2012-02-06 
谁来教教小弟我啊我编译了下面的代码:出现的警告我不懂什么意思,虽然警告不重要,但我还是想知道#include

谁来教教小弟我啊
我编译了下面的代码:出现的警告我不懂什么意思,虽然警告不重要,但我还是想知道


#include <iostream>
#include <map>
#include <list>
using   namespace   std;
int   main()
{
list <int> ls;
map <list <int> ,string> m;
return   0;
}


编译后的警告:
--------------------Configuration:   map   -   Win32   Debug--------------------
Compiling...
map.cpp
c:\program   files\microsoft   visual   studio\vc98\include\xtree(118)   :   warning   C4786:   'std::_Tree <std::list <int,std::allocator <int>   > ,std::pair <std::list <int,std::allocator <int>   >   const   ,std::basic_string <char,std::char_traits <char> ,std::allocator <char>
  >   > ,std::map <std::list <int,std::allocator <int>   > ,std::basic_string <char,std::char_traits <char> ,std::allocator <char>   > ,std::less <std::list <int,std::allocator <int>   >   > ,std::allocator <std::basic_string <char,std::char_traits <char> ,std::allocator <char>  
>   >   > ::_Kfn,std::less <std::list <int,std::allocator <int>   >   > ,std::allocator <std::basic_string <char,std::char_traits <char> ,std::allocator <char>   >   >   > '   :   identifier   was   truncated   to   '255 '   characters   in   the  
//还有好长,帖子写不下了
map.exe   -   0   error(s),   67   warning(s)

[解决办法]
VC 6吧?

换一个环境测试,
它对标准的只吃存在问题 !

热点排行