im working on a program that helps manage a network, well sort of anyway.
The point is that in command prompt, the command, net view, gives you a list of the computer names that are currently on the network.
What i need to be able to do is hav the program save this list into a variable, or even better, an array.
Is there a C++ function that returns this list, or, if not, how can i store the output of that system() statement in a variable?