摘要: QT5.6.1下C++的char/string跟int型数据大小比较 int a = 1; char c = '1'; string s = "1"; //01string和int型比较——c_str + atoi if(a == (atoi(s.c_str()))) { cout << "a = 阅读全文
posted @ 2021-02-02 20:00 撑死算工伤吗 阅读(265) 评论(0) 推荐(0)