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 !=
相關文章
相關標籤/搜索