以下程式用fgets() 取得一行文字便列印到螢幕上 #include <stdio.h> #include <stdlib.h> int main(void) { FILE *fPtr; char s[50]; fPtr = fopen("oldname.txt", ...
確定! 回上一頁