Introduction - If you have any usage issues, please Google them yourself
I use VC written examples to read and write binary files. The program reads the packet MEPG2 binary file, and the package of Teletext information check out, re-write back to a new binary file.
Packet : 45665995bitfilerw.rar filelist
BitFileRw\BitFileRw.cpp
BitFileRw\BitFileRw.dsp
BitFileRw\BitFileRw.dsw
BitFileRw\BitFileRw.opt
BitFileRw\BitFileRw.plg
BitFileRw\Debug
BitFileRw\ErpDefine.h
BitFileRw\New0001.cpp
BitFileRw\ReadMe.txt
BitFileRw\SoureInsigtFiles\BitFileRw.WK3
BitFileRw\SoureInsigtFiles
BitFileRw\StdAfx.cpp
BitFileRw\StdAfx.h
BitFileRw
BitFileRw\BitFileRw.ncb
BitFileRw\SoureInsigtFiles\BitFileRw.IAB
BitFileRw\SoureInsigtFiles\BitFileRw.IAD
BitFileRw\SoureInsigtFiles\BitFileRw.IMB
BitFileRw\SoureInsigtFiles\BitFileRw.IMD
BitFileRw\SoureInsigtFiles\BitFileRw.PFI
BitFileRw\SoureInsigtFiles\BitFileRw.PO
BitFileRw\SoureInsigtFiles\BitFileRw.PR
BitFileRw\SoureInsigtFiles\BitFileRw.PRI
BitFileRw\SoureInsigtFiles\BitFileRw.PS