I know how to read the text of a simple text document (.rtf/.txt) by using an ifstream and appending each line, but .doc or .docx files will read as something like "ÐÏà¡±" or "PK(other symbols)". I want to be able to open and append each line of a .doc/.docx document into a std:string.
Heres the code i use for reading simple text documents:
1 2 3 4 5 6 7 8 9 10 11
while ( myfile.good() )