Need help creating a table.

I need help making this code below print 10 ascii characters per line. Any help is appreciated.

#include <iostream>
using namespace std;

int main()
{
for (int i = 33; i < 127; i++)
{
std::cout << i << ": " << (char)i << std::endl;
}
return 0;
}
every repost is repost repost

posted and answered already here:

http://cplusplus.com/forum/general/47563/
every repost is repost repost

posted and answered already here:

http://cplusplus.com/forum/general/47563/
Topic archived. No new replies allowed.