Of course I looked into the compiler options but everything looks fine there. Optimisation is on the highest level.
Type: Posts; User: c++u
Of course I looked into the compiler options but everything looks fine there. Optimisation is on the highest level.
I measured the speed with clock().
The speed difference is very noticeable even without clock().
To the I/O:
The program calculates Pi (with the Monte-Carlo-Method) and the only output is the...
Now I know, it's that damn compiler (mingw32.dll?).
I compiled the same code with Borland C++5 - the executables where 83k and 28k in size (in contradiction to 450k each with dev-c++) and nearly...
I use Dev-C++ from Bloodshed Software.
When I only include stdio.h the programs have about 30k but when I include only iostream.h the programs have 450k!
Currently I have program in work with...