i usually use gcc compilers, and i find that if i have to compile the same code using visual c++ i get problems, especially in the math and random libraries.