如何用C ++编写日志文件
问题描述:
任何人都可以给我发送一个小程序来知道如何用C ++编写日志文件.
Can Any one send me a small program to know how to write a log file in C++.
答
^ ]
我看到有人做过您懒得做的google搜索,但是如果您改变主意并决定要成为一名真正的程序员,他们自己研究,那么C ++的关键词就是iostreams.您可以使用iostream库来创建文件流以读取和写入文件.
I see someone did the google search you were too lazy to do, but if you change your mind and decide you want to be a real programmer, who does their own research, the key word in C++ is iostreams. You use the iostream library to create file streams to read and write files.