2 Replies - 216 Views - Last Post: 02 October 2012 - 12:33 AM Rate Topic: -----

#1 pushkar1570  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 01-October 12

I want some information about writing data into binary files in C++

Posted 01 October 2012 - 10:27 PM

I wanted to know that whether we can use objects of ifstream or ofstream while writing data into the binary file, or we can only write the class objects into the binary file?
Is This A Good Question/Topic? 0
  • +

Replies To: I want some information about writing data into binary files in C++

#2 Salem_c  Icon User is offline

  • void main'ers are DOOMED
  • member icon

Reputation: 1678
  • View blog
  • Posts: 3,180
  • Joined: 30-May 10

Re: I want some information about writing data into binary files in C++

Posted 01 October 2012 - 10:55 PM

http://www.parashift...ialization.html
Was This Post Helpful? 0
  • +
  • -

#3 prabh  Icon User is offline

  • D.I.C Regular
  • member icon

Reputation: 3
  • View blog
  • Posts: 381
  • Joined: 27-December 08

Re: I want some information about writing data into binary files in C++

Posted 02 October 2012 - 12:33 AM

I posted a snippet on Dreamincode.net you can check that if it works.
My snippet

This post has been edited by prabh: 02 October 2012 - 12:34 AM

Was This Post Helpful? 0
  • +
  • -

Page 1 of 1