how to read .docx file in c [closed]

Reading a MS Word document with raw C programming is quite a big project, not suitable for beginners. It is not a pure text file so you can’t use fopen("Hello.docx", "r");. Rather it is a custom format, so you’d have to open it as binary. Then read the 500+ pages long specification of the format and treat the data accordingly. Might be worth taking a peek at the Open Office code to get an idea of how much work that’s involved.

Leave a Comment