求教一个vector<string>得问题
以下是把输入的单词转换为大写的程序:#include<iostream>
#include<string>
#include<vector>
using namespace std;
int main()
{
string st;
vector<string> vec;
while(cin>>st)
{
if(st=="exit00")
break;
vec.push_back(st);
}
for(vector<string>::size_type i=0;i!=vec.size();++i)
{
for(string::size_type j=0;j!=vec[i].size();++j)
{
vec[i][j]=toupper(vec[i][j]);
}
if(i%8==0)
cout<<endl;
cout<<vec[i]<<" ";
}
return 0;
}//此题有4个警告!
我用的是vc6.0
警告内容如下:
D:\c++\vc6\primer\314.cpp(27) : warning C4786: 'std::reverse_iterator<std::basic_string<char,std::char_traits<char>,std::allocator<char> > const *,std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::basic_string<char,std::char_
traits<char>,std::allocator<char> > const &,std::basic_string<char,std::char_traits<char>,std::allocator<char> > const *,int>' : identifier was truncated to '255' characters in the debug information
D:\c++\vc6\primer\314.cpp(27) : warning C4786: 'std::reverse_iterator<std::basic_string<char,std::char_traits<char>,std::allocator<char> > *,std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::basic_string<char,std::char_traits
<char>,std::allocator<char> > &,std::basic_string<char,std::char_traits<char>,std::allocator<char> > *,int>' : identifier was truncated to '255' characters in the debug information
c:\program files\microsoft visual studio\vc98\include\vector(39) : warning C4786: 'std::vector<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::allocator<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >
>::vector<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::allocator<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\vector(60) : warning C4786: 'std::vector<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::allocator<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >
>::~vector<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::allocator<std::basic_string<char,std::char_traits<char>,std::allocator<char> > > >' : identifier was truncated to '255' characters in the debug information
请大神告知此题警告的内容是什么意思,如何改正!