fscanf () and Strings. You may use the %s switch in fscanf() to read character data into a char array: #define MAX_LENGTH 25 . . . char str[MAX_NLENGTH + 1];.
確定! 回上一頁