Hi, i'm currently teaching myself c++. I was going to ask how to create an array of strings but i've managed to work it out. However, i do still have one question.
After reading your answer, i've realised when defining any variables i've always done either int i = 2; or just int i; and then set a value later within a function. Never have i used
1 2
int i;
i = 2;
so it makes sense now why the array thing would not work. It seems like a silly question now!