how to call .exe file within c++ program?
<p>I want to use a exe file (convert.exe), inside my C++ program. This "exe" file change my output file format to another format. when, i use this convert.exe from my command-prompt (cmd), i have to type like this;</p>

<p>convert -in myfile -out convertedfile -n -e -h</p>

<p>where;</p>

<p>myfile=        name of the file, I obtain from my c++ program
convertedfile= result of the "convert.exe" file
-n, -e, -h =   are some parameters (columns) that i need to use to get output file with my
               desired data columns.</p>

<p>i tried with system(convert.exe). but, it does not work as i did not know how to use all those parameters.</p>
