cout shouldn't slow down the loop "a lot" unless there's nothing else in the loop.
You can instead try something like this..
#include <stdio.h>
char* str[10];
for(int i = 0; ; i++) {
if(i > 9) {
printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", str[0], str[1], str[2], str[3], str[4], str[5], str[6], str[7], str[8], str[9]);
i = 0;
}
str[i] = "whatever you're printing";
}
This way it only prints every 10 loops, but regardless it shouldn't be slowing down your loop by that much that you need a 'faster' way. I/O is inherently expensive. Don't use it when you don't have to.
Also, this actually wouldn't speed up your process any (it'd actually slow it down from extra calculations) but it would increase the speed between your calculations.