How to send value to _popen?

Posted by karikari on Stack Overflow See other posts from Stack Overflow or by karikari
Published on 2010-04-19T00:43:23Z Indexed on 2010/04/19 0:53 UTC
Read the original article Hit count: 326

Filed under:

Hi, I have a problem here. I need to send some value to 'text1 and 'text2'. For example,

text1 =

...and this code below will refer to those values..

FILE  *child = _popen("java -jar c:\\simmetrics.jar text1 text2 > c:\\test.txt", "r");

How can achieve it. I have done many ways, and it keep on giving me pointer errors.

© Stack Overflow or respective owner

Related posts about popen