Hello gurus, i have a program that converts document files to html , however there's a very strange issue with the program, it is only converting files that i open within the program using fstream i.e. ofstream out("test.doc"); now ill have to copy the contents from another document that i want to convert to this test file and it would convert but if i try converting a document that has not been implicitly created it would give me a garbage .html file.
Please go through the code, would be grateful if someone can guide me :)
Yes, try converting a doc file(say test.doc) to html, it would create html file but with nothing but random numbers and characters; now create a file within the program calling fstream(say inprog.doc), copy-paste the contents from test.doc to inprog.doc and viola, u get a perfect .html with all contents.
Now i cant give a minimal code coz i have no clue where the problem is coming,by far what i see and debugged ; i dont see anything tht can cause this :/