Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C++ and Visual C++ > C++ Programming
| Search | Today's Posts | Mark Forums Read
C++ Programming General discussions for the C++ language. For questions specific to Microsoft's Visual C++ variant, see the Visual C++ forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C++ Programming section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old May 15th, 2007, 02:38 AM
Registered User
 
Join Date: May 2007
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default code for decoding a binary dat file

i have a binary dat file, whihc was made as a data set for an application called gauss. now i want to read the data in it into a c/C++ program. unfortunately i cant get get it done. i think i'll have to decode the binary file first, whihc i have no idea how to do

any ideas?/?

Reply With Quote
  #2 (permalink)  
Old May 18th, 2007, 09:38 PM
Authorized User
 
Join Date: May 2007
Location: Seri Kembangan, Selangor, Malaysia.
Posts: 28
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to Peter_APIIT
Default

In C, i think we can read from binary file but i not so sure how this can be done it C++.

C:

fopen("C:\\", a+b); -- +b binary

Linux is the best OS in the world.
Reply With Quote
  #3 (permalink)  
Old May 18th, 2007, 09:40 PM
Authorized User
 
Join Date: May 2007
Location: Seri Kembangan, Selangor, Malaysia.
Posts: 28
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to Peter_APIIT
Default

I think this website might help you.

http://www.devx.com/tips/Tip/15066

Linux is the best OS in the world.
Reply With Quote


Similar Threads
Thread Thread Starter Forum Replies Last Post
Importing dat file Earl Hickey Visual Basic 2005 Basics 4 May 25th, 2007 12:11 PM
Edit .Dat file Mpriya VB How-To 2 May 22nd, 2007 08:43 AM
Help. How to save and retrieve text from .dat file dextergaisie Pro VB 6 1 May 15th, 2007 11:45 AM
Connecting to dat file from access or VB shaiss Access VBA 0 December 31st, 2005 02:21 PM
How to open Binary .dat file? bekim VB.NET 2002/2003 Basics 2 June 16th, 2004 09:56 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.