in perl
we can execute command and get result(command line stdout) by
$a=`cmdline parameter`;
print $a;
in c
system('cmdline parameter');
but i can not get the result (command line stdout).
in c++?
=============== =============== =============== ========
have any standard method do this job?
we can execute command and get result(command line stdout) by
$a=`cmdline parameter`;
print $a;
in c
system('cmdline parameter');
but i can not get the result (command line stdout).
in c++?
=============== =============== =============== ========
have any standard method do this job?
Comment