您当前的位置: 首页 >  c++

txwtech

暂无认证

  • 3浏览

    0关注

    813博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

vc++0xC0000005:读取位置0x00000014时发生访问冲突

txwtech 发布时间:2020-08-21 14:58:45 ,浏览量:3

vc++0xC0000005:读取位置0x00000014时发生访问冲突 reallocate to grow,xstring 定义了一个string vector std::vectorstd::string logfile; logfile[0]=“txwtech”; 做法错误,报错。野指针

所以,先初始化,logfile.pushback(" "); 再logfile[0]=“txwtech”,就ok啦

关注
打赏
1665060526
查看更多评论
立即登录/注册

微信扫码登录

0.0370s