在標准C語言中,getline函數是不存在的。 下面是一個簡單的c語言實現方式: int getline_(char s[],int lim){ int c,i; i=0; while((c=getchar())!
確定! 回上一頁