|
-
April 3rd, 2013, 12:50 PM
#8
Re: Writing and Reading Binary data in FORTRAN and C++
 Originally Posted by Vectorprg
Yes, If I write 12.54 to a binary file ( not console) with FORTRAN and then read that binary file with C++ it works fine. But in thatcase I am using ifstream to read the file and not using ReadFile() function.
Then the problem seems to be with your ReadFile?
Show your complete code for both case: when using ifstream and when using ReadFile
Victor Nijegorodov
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|