Results 1 to 11 of 11

Thread: About buffers, iostream objects, and files.

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #6
    Join Date
    Sep 2010
    Posts
    654
    Thanks
    56
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: About buffers, iostream objects, and files.

    Thanks WY.
    When I write the stringstream 'solution' really I wanted to show what i want.
    My main doubt is 'I cannot use iostream' ? How can I create I iostream instance ?

    My goal is to have a 'binary element' just in memory not in a file.
    Reading the io reference, I have only acces to stringstream or fstream, ins't ?

    I dont understand how to use streambuf directly, i cant?


    And, your example is very useful, thanks.
    Last edited by tonnot; 31st May 2011 at 10:38.

Similar Threads

  1. The best way to use buffers / streams/ strstreams
    By tonnot in forum General Programming
    Replies: 0
    Last Post: 28th February 2011, 09:32
  2. About binary files & streams & buffers...
    By tonnot in forum General Programming
    Replies: 3
    Last Post: 22nd February 2011, 23:05
  3. #include<iostream> not found
    By byammanuru in forum Newbie
    Replies: 1
    Last Post: 20th November 2009, 09:39
  4. Print with iostream to console
    By afflictedd2 in forum Qt Programming
    Replies: 1
    Last Post: 17th March 2009, 17:03
  5. Iostream cout on loop same line
    By patrik08 in forum General Programming
    Replies: 3
    Last Post: 7th December 2006, 13:12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.