摘要: int my_getline(char* line, int max_size) { int c; int len = 0; //fflush(stdin); while( (c=getchar()) != '\n' && c != EOF); while( (c=getchar()) != EOF && len < max_size){ ... 阅读全文
posted @ 2019-04-19 11:50 soul.stone 阅读(189) 评论(0) 推荐(0) 编辑