Thread: Problem with empty stream

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Deathray Engineer MacGyver's Avatar
    Join Date
    Mar 2007
    Posts
    3,210
    To reiterate what was already said, fclose() does not flush input streams, so instead of just repeating yourself, perhaps you could clarify what the heck you're talking about.

  2. #2
    Registered User
    Join Date
    Sep 2007
    Posts
    4
    fclose flushes, please refer to: http://bama.ua.edu/cgi-bin/man-cgi?fclose+3C

    Quote Originally Posted by MacGyver View Post
    To reiterate what was already said, fclose() does not flush input streams, so instead of just repeating yourself, perhaps you could clarify what the heck you're talking about.

  3. #3
    Officially An Architect brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,396
    Quote Originally Posted by sshahar1 View Post
    fclose flushes, please refer to:
    It doesn't flush INPUT STREAMS. Since no such thing exists. Read the words.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Help with binary file c++
    By lucky_mutani in forum C++ Programming
    Replies: 4
    Last Post: 06-05-2009, 09:24 AM
  2. opening empty file causes access violation
    By trevordunstan in forum C Programming
    Replies: 10
    Last Post: 10-21-2008, 11:19 PM
  3. Dikumud
    By maxorator in forum C++ Programming
    Replies: 1
    Last Post: 10-01-2005, 06:39 AM
  4. stream socket problem
    By WL in forum C Programming
    Replies: 2
    Last Post: 10-01-2001, 11:07 PM
  5. From stream/file to a string array problem
    By dradsws in forum C Programming
    Replies: 2
    Last Post: 10-01-2001, 06:24 PM