Storing values in a dynamic array

Hello.
Last edited on
for (int i=0; i==numberofgrades; i++) When that will be executed?

The problem is that some lines have two characters. You don't reserve enough space for that.
It will be easier if you work with strings, and just append every line read.
The assignment specifically asks that I store the grades in a single one-dimensional array, however
closed account (jw6XoG1T)
try creating a dynamic array as follows:

string *pointer = new string []
Topic archived. No new replies allowed.