Execution Time

I have a source file.
I compiled two times:
First with Microsoft VS Express for Desktop 2012
Then with Dev-C++.
The execution times, in my computer, are:
MS VS 534 seconds
Dev-C++ 476 seconds
And the size of executable:
MS VS 69.632 bytes
Dev-C++ 6.561.792 bytes
Can anyone please tell me, why?
Is there a problem with Microsoft VS Express for Desktop 2012?

Thank you in advanced.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// Count the time
#include <iostream>
#include <ctime>
using namespace std;
int main()
{
int bb=0, i=0, j=0, k=0;	
clock_t start = clock();
for (double i=0; i<100; i++)
	{
		bb++ ;
		for (double j=0; j<100; j++) 
		{
			bb++ ;
			for (double k=0; k<100; k++)
			{
				cout << i << ", " << j << ", " << k << " \n";
				bb++ ;
			}
		}
	}

clock_t ends = clock();
cout << "Running Time : " << (double) (ends - start) / CLOCKS_PER_SEC << endl;

cout << "Press ENTER to exit";
cin.get();
cin.get();
return 0;
}
I want to know the answer too xD in fact i have a lazy video about it xD
http://www.youtube.com/watch?v=zgs_oFdzj50
Topic archived. No new replies allowed.