84669 personnes étudient
152542 personnes étudient
20005 personnes étudient
5487 personnes étudient
7821 personnes étudient
359900 personnes étudient
3350 personnes étudient
180660 personnes étudient
48569 personnes étudient
18603 personnes étudient
40936 personnes étudient
1549 personnes étudient
1183 personnes étudient
32909 personnes étudient
我们都知道c++都使用cout输出的,但也可以使用printf;
printf("字符串:\n 字符串1:%s\n 字符串2:%s\n 字符串3:%s\n",str1,str2,str3);
VC6编译通过,但是不能运行,一运行就出现结束运行停止,被强制关闭;
我尝试使用gcc编译; string类怎么了?不能使用
光阴似箭催人老,日月如移越少年。
你想printf一个string就得这么用,不然肯定coredump,VC6太古老了不要用了
string str; printf("%s", str.c_str());
你想printf一个string就得这么用,不然肯定coredump,VC6太古老了不要用了