In reply to ningyangverificationacademy:
IF I do that I get a error stating syntax error at new
cores = new[10];