Cmd access

Hey, is there a way to access the Cmd prompt and enter in data, as well as retrieve the data sent, and put it on the console window and/or into a string? What functions should I use? Thanks ^_^
"system" function in windows.h header file
Last edited on
The "system()" function is actually in the "cstdlib" or "stdlib.h" header file but otherwise ahura24 is correct.
Thank you ^_^

Editing this in, even though this is barely old (8 days, har har har). I was more asking how to get the output from system, as in, how-to, not what-does. Although, quickly after posting it, I found what I was looking for while web searching. I just felt like I should add this, don't ask me why ^_^
Last edited on
Topic archived. No new replies allowed.