I program in C++ on open-suse (with emacs) and on windows 8 (with VS). For some reasons, I'm forced to use the random() (man 3 random), of stdlib.h.
But, on VS, it appears random() doesn't exist and rand() returns me an int, and of course, I need a long int (like what random() returns).
Is there an alternative to have the same result in both system with the same seed ?