求大神帮忙看看bug为什么会这样,怎么解决,谢谢
c吧
全部回复
仅看楼主
level 1
一只小小熊口牙
楼主
2025年02月17日 13点02分
1
level 1
一只小小熊口牙
楼主
0x00007FF8D1430369 (ucrtbased.dll)处(位于
网页链接
中)引发的异常: 0xC0000005: 写入位置 0x000000E150F10000 时发生访问冲突。
2025年02月17日 13点02分
2
wang760113
char str[20]; printf("input name pleace :\n"); scanf_s("%s", str,20); printf("input name is %s\n", str); 这也是编译通过
2025年02月21日 13点02分
level 1
wang760113
std::string name;
std::cout << "input name please" << std::endl;
std::getline(std::cin, name);
std::cout << "input name is" << name <<std::endl;
2025年02月21日 12点02分
3
wang760113
@油炸不良人
感觉表达 不清楚,会引起误会
2025年02月21日 13点02分
油炸不良人
c++程序员有个通病,不爱写cout << "……\n";喜欢写cout << "……" << endl;
2025年02月21日 13点02分
wang760113
@油炸不良人
我用他这程序也是跑不起来,用了“兼容”模式,也不行。用C++还是方便
2025年02月21日 13点02分
油炸不良人
@wang760113
scanf_s是微软vs专用的
2025年02月21日 13点02分
1