title: C program for reading doc, docx, pdf
body: <p>I want to write a program in C(only c not c++ or java) that will read doc, docx, pdf and want to make it available on github to use for all who needs that code. So I started with .doc file I explored that if I open .doc file with simple notepad it will show you all text but just with some extra content which you can easily trim. So I did write a simple c program to read .doc wile in both 'r' and 'rb' mode but  both time it gives me only 5-9 character in the file and those also not readable. I don't know why it's happening. Any comment or disccussion will be very helpful for me.</p>
  
  <p><strong>Here is the link for github <a href="https://github.com/varun-naharia/doc-docx-pdf-Reader-In-C" rel="nofollow">Source code</a>. Please help me to complete all three format.</strong> </p>