while solving a certain problem in c++, I tried to see the execution time on my pc.
Running the program on the terminal and mingwG++ gives time 0.14, while running it through visual studio it gives me 3.874!!!!!
please can anyone explain me this phenomenon, why there is such a great difference between both executions ?!
thanks in advance.
Source code? specific compile switches used? It's very likely you're using a debug build in visual studio which populates code with run-time checks and uses debug version of STL as well. "Release" compile would be faster.
thanks for replying