system() variable help

Microsoft Windows 7 ultimate 32-bit
July 25, 2010 at 19:17:51
Specs: Windows 7
I am making a program in c++ and need what ever is outputed to the console from:

system("clamp /title");

to be saved as a string so i can use it later on. any ideas?

See More: system() variable help

Report •

July 25, 2010 at 20:41:13
There's the easy way, and the better way.

The easy way would be to just dump the contents of the command to a file, and then open the file.

The better way would be to redirect its output.

Report •
Related Solutions

Ask Question