vc编译器竟然也能睁着眼睛说瞎话
看附图,我对代码#include <iostream>
#include <string>
#include <vector>
using namespace std;
using std::vector;
using std::string;
using std::cin;
using std::cout;
using std::endl;
int main()
{
string word;
vector<string> text;
while(cin>>word)
{
text.push_back(word);
}
for(vector<string>::iterator i=text.begin(); i != text.end(); ++i)
cout<<(*i)<<endl;
cout<<endl;
return 0;
}进程编译,明明在上面提示了很多歌警告
却在最后一行显示 test.exe - 0 error(s), 0 warning(s)?