标签: c++ windows ip-address
system("C:\\Windows\\System32\\ipconfig");
它在控制台窗口中生成网络相关信息。我想将它存储到文本文件中。怎么做?