David Zakar incurred the wrath of Bob on Jul 6, by saying

>Folks,
>
>What's the currently preferred method for executing a shell command in
>the midst of a C++ program, compiled with g++? I'm writing some code
>where I'd like to echo some variables in /proc entries...

Anything wrong with good old "system"?

Though if I were in your shoes and wanted to be 31337 I'd fopen the
/proc entry directly...

--
Cheers,
Bob Schmertz

Reply via email to