Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > C# and C > C++ and Visual C++ > C++ Programming
Password Reminder
Register
| FAQ | Members List | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #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
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 02:19 PM.


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