what can be used instead of new[]?

thank you! i was tearing my hair out!