You sound really condescending,unlike @Eigenvektor, who actually didn't get angry at a noob without first asking normally. Try to get your wording better, if you don't want to sound aggressive, man. I proved It was looping since there's a cout for i and j in the for loops in the threads. Without mentioning the fact It kept outputting out stuff, when the variable reached the condition to stop the for statement, it just kept going resetting the variable