2.1.1

解决1

c++中使用malloc()时,出现error: 'malloc' was not declared in this scope

解决方法:

引入stdlib.h      #include<stdlib.h>

 

posted @ 2018-07-28 11:42  BUSYGIRL  阅读(150)  评论(0编辑  收藏  举报