Hi,Code:. . time (&start); for(i= 0; i < 110; i++) { for(j= 0; j< 110; j++) { cout << i ; cout << j; . . . } } time (&end); dif = difftime (end,start); . .
I wanted to measure time for my double loop to run its course . What shocked me is the fact that diff is longer (greater) when I comment out these two "cout lines" all other parameters being equal. How is it possible?
Thank you