I tried this Array entry method, where it asks for a colour then you press return and put in the remaining ones, and then it prints out the full Array. Can anyone explain why it will not do the first slot, "colours[0]", it ignores this and enters the last for strings. What am I missing?
int main() {
string colours[CAPACITY];
string input;
for (int a = 0; a < CAPACITY; a++) {
colours[a] = input;
cout << "Please type in the colours you want:";
cin >> input;