摘要: 1 ,gets() 可以无限读取,以回车结束读取,C语言中的函数,在C++中运行会产生bug。 如: #include <iostream> #include <cstdio> using namespace std; int main() { chara[50]; cin>>a; gets(a); 阅读全文
posted @ 2018-03-23 13:26 左岸繁华右岸殇 阅读(387) 评论(0) 推荐(0) 编辑