摘要:
our package fails to build with the upcoming GCC 4.4. Version 4.4has not been released yet but I'm building with a snapshot in orderto find errors and give people an advance warning.GCC 4.4 cleaned up some more C++ headers. You always have to #includeheaders directly and cannot rely for things t 阅读全文
posted @ 2013-03-28 10:48
飞天2012
阅读(286)
评论(0)
推荐(0)
摘要:
c++中string与string.h的作用和区别#include<string.h>voidmain(){stringaaa="abcsdd";printf("lookingforabcfromabcdecd%s\n",(strcmp(aaa,"abc"))?"Found":"NotFound");}不能正确执行,提示说是string类型没有定义而下面:#include<string>usingnamespacestd;voidmain(){stringaaa=&quo 阅读全文
posted @ 2013-03-28 10:47
飞天2012
阅读(176)
评论(0)
推荐(0)
浙公网安备 33010602011771号