How to retrieve data from binary file into array

  • 12 years ago

     

    Hi, This is sreenu. I want to read a binary file(*.DAT) and then i have to do some operations on those values. So, can u tell me the procedure to do this.

    If source code is available,please send to me.

    It's  urgent.

    Thank You.

  • 12 years ago

    => I have a complete sample app (one .cpp file) for VC++6 that uses structures for binary files, you can download it here :

    Advanced_Employee_Record.cpp

    If the site for download, wants a registration, join for free(and get 5GB storage!) and then login & download.

    - Another sample, maybe helpful : [C++] Simple Multiplication Test - Involves with : files & strings & arrays & ... (from section '3. Class_List_Manipulation.cpp')

    => See MSDN for various infos about functions to boost your code Wink

Post a reply

Enter your message below

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Engineers are all basically high-functioning autistics who have no idea how normal people do stuff.” - Cory Doctorow