如何在C ++中将系统(const char * command)输出写入文件

时间:2016-06-19 01:08:38

标签: c++ windows ip-address

system("C:\\Windows\\System32\\ipconfig");

它在控制台窗口中生成网络相关信息。我想将它存储到文本文件中。怎么做?

0 个答案:

没有答案