花费 27 ms
linux下使用gcc/g++编译代码时gets函数有错误

今天在linux中使用个g++编译一个名为myfirst.cpp的代码的时候,出现如下错误 myfirst.cpp: In function ‘int main()’:myfirst.cpp:11:2: warning: ‘char* gets(char*)’ is deprecated ...

Sun Mar 13 19:16:00 CST 2016 0 3674

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM