Parsing all files(doc/docx) from a directory one by one to a program C++
<p>I'm new to C++ and programming; and lately have to work with C++ and my knowledge is quite limited. Any help would be appreciated  </p>

<p>I'm trying write a code in C++ to Parse (doc/docx) files from a directory (1 by 1 ) ; let say "Desktop" to a program that takes file as an input </p>

<p>1) search the selected directory for DOC/DOCX file(s)</p>

<p>2) Parse the file(s) one by one into a program (lets call it : Converter which will output as a .txt file) from the selected directory </p>

<p>3) call : system("converter.exe (x).doc > (x).txt") ; file(s) get parse into converter.exe</p>

<p>where (x) is the file's name and will changed every time a file get parse into the converter
eg. </p>

<p>first round :  system("converter.exe doc1.doc > doc1.txt")</p>

<p>Second round : system("converter.exe somedocx2.doc > somedocx2.txt")</p>

<p>Thanks</p>
