1>c:\users\darran\documents\visual studio 2017\projects\mehhem\mehhem\main.cpp(8): error C2440: 'initializing': cannot convert from 'item *' to 'item' 1>c:\users\darran\documents\visual studio 2017\projects\mehhem\mehhem\main.cpp(8): note: No constructor could take the source type,...
// and another integer (y); then test that the separator is a comma. // 当读入的分隔符不是逗号的时候,结束输入,开始输出 while (cin >> x >> sep and sep == ',' and cin >> y) { xs.push_back(x); ys.push_back(y); } } cout << "The data you input are: " << endl; fo...
1>c:\users\darran\documents\visual studio 2017\projects\mehhem\mehhem\main.cpp(8): error C2440: 'initializing': cannot convert from 'item *' to 'item' 1>c:\users\darran\documents\visual studio 2017\projects\mehhem\mehhem\main.cpp(8): note: No constructor could take the source type,...
1>c:\users\darran\documents\visual studio 2017\projects\mehhem\mehhem\main.cpp(8): error C2440: 'initializing': cannot convert from 'item *' to 'item' 1>c:\users\darran\documents\visual studio 2017\projects\mehhem\mehhem\main.cpp(8): note: No constructor could take the source type,...