Dynamically allocated array help

Feb 25, 2013 at 7:28pm
I am having some trouble on understanding how to create a dynamically allocated array and then inputting some information in to it from a text file.

Any help will be appreciated.

Example text file:
John Doe saving 135246978 300 0
Feb 25, 2013 at 9:05pm
char *array;

array = new char[SIZE];
Topic archived. No new replies allowed.