The equivalent solution for fgetws() would set buf to an empty wide string. char buf[BUFSIZ]; FILE *file = /* ... */; if (fgets(buf, sizeof(buf), ...
確定! 回上一頁