摘要:
下面的代码起到这样一个作用: 如果有flow.txt文件,则打开该文件,在文件中继续写入字符串; 如果没有该文件,则创建该文件并写入。 #include #include #include std::ofstream file; if (file.bad()) { std::cout << "cannot open file" << std::end... 阅读全文
posted @ 2016-05-15 19:34
VVingerfly
阅读(10301)
评论(0)
推荐(1)

浙公网安备 33010602011771号