That '–' is not the minus '-'
( If you want to get different random values each execution, you have to call srand() at the beginning of the program )
ty, my bad lol, this '–' was there because ive copy/pasted it :X
yea i know i have to use srand(), but it was no need to paste the whole code
ty anyway :)