相关函数std::puts 后附新换行符到输出,而 std::fputs 写入不修改的字符串。 ... rc = std::fputs("Hello World", stdout); if (rc == EOF) std::perror("fputs()"); ...
確定! 回上一頁