Results 1 to 2 of 2

Thread: ofstream output

Threaded View

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Nov 2002
    Posts
    195

    ofstream output

    Can someone tell me whether its possible to output the contents of a float/int in the same way that fwrite does (e.g. 4 bytes in the same way that are represented in memory) when using a std:: ofstream.

    Thanks

    EDIT: Should've mentioned that I'm hoping to use the << operator rather than the write function, if possible.
    Last edited by Barguast; Jun 19th, 2004 at 03:25 PM.
    Using Visual Studio .NET 2005

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width