vc++0xC0000005:读取位置0x00000014时发生访问冲突
vc++0xC0000005:读取位置0x00000014时发生访问冲突
reallocate to grow,,xstring
定义了一个string vector
std::vector<std::string> logfile;
logfile[0]="txwtech"; 做法错误,报错。野指针
所以,先初始化,logfile.pushback(" ");
再logfile[0]="txwtech",就ok啦
欢迎讨论,相互学习。
cdtxw@foxmail.com