If I am creating a large array such as:
would I be better off leaving this as is or should I allocate memory from the heap for it and returning it when I am done such as:Code:struct example { string word1, word2, word3, word4; int num1, num2, num3; }; example example1[100];
I think I have the syntax right?Code:example* example1 = new example[100]; //........ delete example1;
R W Marsh