Hello. This is my first post here and I just started learning C, so please do not be too harsh in responces.
I was wondering how you can get system() or another function to call a system command and return the output not to STDOUT, but to a variable instead. This is so I may parse the output myself and print it how I wish to the user.
Thanks to anyone who provides valid info.