title: How can I parse a DICOM file using plain C or C++ file read methods?
body: <p>I am NOT looking for a pre-existing library to read DICOM files. I am looking for some sample code that reads a DICOM file and parses it. No bells and whistles. I need to write the code from scratch. I understand that there are many awesome libraries available, but I need to read the DICOM file manually using old-fashioned C or C++ file read methods. Don't waste your time suggesting libraries. Nothing against libraries! I just need to do this manually.</p>
  
  <p>Specifically, I need to know how to access the values from a DICOM file (most importantly: the pixel values). It would help to know the data types, sizes, and formatting (which I know can vary a lot in DICOM). </p>
  
  <p>Thanks!
  -j</p>