Lets say I'm using a command such as system("ipconfig") on a windows machine, how might I go about taking the information given from using ipconfig and storing it in a text file? Is this even possible?
Edited by on 12-02-10 00:39
RE: C++ I/O with command prompt
Posts: Location: Joined: 01.01.70 Rank: Guest
Posted on 12-02-10 00:57
Use redirects. For example > is write to, and >> is append.