加个#include<cstring>试试
by PolyLoger @ 2019-06-12 23:32:40
```c++
#include<cstdio>
#include<cstring>
```
by smarthehe @ 2019-06-12 23:34:31
@[做只会飞的猪](/space/show?uid=211711)
by smarthehe @ 2019-06-12 23:35:02
还有cstdio(马后炮石锤)
by PolyLoger @ 2019-06-12 23:35:19
发三遍干嘛??
by ycyaw @ 2019-06-13 07:49:43
@[smarthehe](/space/show?uid=103732)
为啥在VS上能运行,在这里就不能运行?
by 做只会飞的猪 @ 2019-06-13 08:03:28
@[做只会飞的猪](/space/show?uid=211711) 不知道,可能存在版本问题
反正用 memset 前调用 cstring 不会出事,不调用可能就会炸
by Celestial_Scarlet @ 2019-06-13 09:45:23