Thread: Dumb I/O Performance Question

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #8
    and the Hat of Guessing tabstop's Avatar
    Join Date
    Nov 2007
    Posts
    14,336
    I don't care enough to try to work out an actual example, but I would guess you would get 4 "bursts" in both examples, since stdout is flushed on every newline character.

    Edit: obviously I'm assuming a "fixed" example where the four strings weren't printed without spaces together on one line (or until wrap).
    Last edited by tabstop; 02-22-2008 at 06:03 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. very dumb question.
    By Blips in forum C++ Programming
    Replies: 14
    Last Post: 11-08-2005, 09:37 AM
  2. Dumb question
    By dragon2309 in forum C Programming
    Replies: 18
    Last Post: 10-29-2005, 03:27 PM
  3. C++ File I/O question
    By zero_cool in forum C++ Programming
    Replies: 3
    Last Post: 08-16-2005, 10:43 AM
  4. File I/O Question
    By Sentral in forum C++ Programming
    Replies: 4
    Last Post: 07-06-2005, 04:49 AM
  5. dumb question...
    By Sebastiani in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 07-28-2002, 10:35 AM