vc++0xC0000005:读取位置0x00000014时发生访问冲突 reallocate to grow,xstring 定义了一个string vector std::vectorstd::string logfile; logfile[0]=“txwtech”; 做法错误,报错。野指针
所以,先初始化,logfile.pushback(" "); 再logfile[0]=“txwtech”,就ok啦
vc++0xC0000005:读取位置0x00000014时发生访问冲突 reallocate to grow,xstring 定义了一个string vector std::vectorstd::string logfile; logfile[0]=“txwtech”; 做法错误,报错。野指针
所以,先初始化,logfile.pushback(" "); 再logfile[0]=“txwtech”,就ok啦
微信扫码登录