Open JohnTargaryen opened 8 years ago
@JohnTargaryen
There will be many reasons. What I know is that there will be some "undefined behaviors". This behaviors is not standard c++ which will lead to different outputs with different compilers.
Also, multi-thread programming will lead to different answers, but this seems not your circumstance.
I found some interesting answers in stackoverflow through google. Maybe you can search something you need.
hello +7,i've come across the problem that my program's output is different in eden and in vs2013; when i use the text input given by eden to test my program in vs2013, it gives the correct output.However, when i copy my code to eden, the output become wrong, why is that? could you explain it to me? thanks;
left : my program's incorrect output in eden; right : my program's output in vs2013
left : standard output