c读取一行字符串,以及c++读取一行字符串

一 c读取一行字符串 1 gets #include <stdio.h> #include <stdlib.h> #include <string.h> int main() { int size = 1024; char* buff = (char*)malloc(size); // read lines while(NULL !=
相关文章
相关标签/搜索