commands stored into variables?
Hoi there!
How do I let my program (c++) exucte a unix command (e.g. cat /proc/cpuinfo | grep "model name")? I need to collect some information about the computer it is running on, and play around with it..
I can imangine this will be very simple, as it seems to be..
cheers,
Benne
|