So the intention of this project was to basically play around with command prompt commands, however it seems that I've run into a file error.
The program uses "getmac" and stores it to a text file, however when I display this it generates random numbers at the bottom of it, and I can't figure out why.
Can anyone help? I've practically re-written the thing twice over!
http://www.cplusplus.com/reference/clibrary/cstdlib/system/
Once the command execution has terminated, the processor gives the control back to the program, returning an int value, whose interpretation is system-dependent.
In many systems, 0 is used to indicate that the command was successfully executed and other values to indicate some sort of error.
The program uses "getmac" and stores it to a text file