Why is the if statement failed? C++

Remember if the engine is freezing its mean the loop is still infinite.
try one more thing, clearing the array each time the group of items is generated, test and update us about the results

hope it helps
cheers!

1 Like