Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

C++ printing in a loop

Name: Anonymous 2012-07-05 17:14

Hello!
Does anyone know how to tell the program to print stuff each single step in my loop?
Whenever i execute the program it just prints the very last step:

  for( uint i = 0; i < iter; i++) {
    [...]
    std::cout << "stuff";
  }

Thanks!

Name: Anonymous 2012-07-05 17:21

>>2
Put a << std::endl after "stuff".

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List