复制
收藏
提问
全网
Main.cc: In function ‘int main()’: Main.cc:6:15: error: conversion from ‘int’ to non-scalar type ‘std::__cxx11::string {aka std::__cxx11::basic_string<char>}’ requested string s=i; ^ Main.cc:12:9: error: ‘cut’ was not declared in this scope if(cut==i){ ^
2个月前
理解问题Main.cc: In function ‘int main()’: Main.cc:6:15: error: conversion from ‘int’ to non-scalar type ‘std::__cxx11::string {aka std::__cxx11::basic_string<char>}’ requested string s=i; ^ Main.cc:12:9: error: ‘cut’ was not declared in this scope if(cut==i){ ^
已完成理解「Main.cc: In function ‘int main()’: Main.cc:6:15: error: conversion from ‘int’ to non-scalar type ‘std::__cxx11::string {aka std::__cxx11::basic_string<char>}’ requested string s=i; ^ Main.cc:12:9: error: ‘cut’ was not declared in this scope if(cut==i){ ^」
展开阅读网页
更专业一些
转笔记
专业
Main.cc: In function ‘int main()’:
Main.cc:6:15: error: conversion from ‘int’ to non-scalar type ‘std::__cxx11::string {aka std::__cxx11::basic_string<char>}’ requested
string s=i;
^
Main.cc:12:9: error: ‘cut’ was not declared in this scope
if(cut==i){
^不在提醒