hhhzzff's blog

By hhhzzff, history, 3 hours ago, In English
  • Vote: I like it
  • 0
  • Vote: I do not like it

»
2 hours ago, # |
  Vote: I like it 0 Vote: I do not like it

You need to flush the output. Use endl instead of '\n' or fflush(stdout).

  • »
    »
    2 hours ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    or do cout << flush;

    • »
      »
      »
      81 minute(s) ago, # ^ |
        Vote: I like it 0 Vote: I do not like it

      Thank you all :).In fact the problem is that i use a operation "array[-1]" in my code,but idk why the result is idleness exceeded.