I am trying to make a program, where a person can enter some numbers, and those numbers has to be saved in an array or something else.
Each time the user write a new number, it should be added to the end of the array, but the array can't be set with int someArray[5], because I don't know if the user is going to write 5 numbers or only 3, or maybe 40 numbers.
Aaah! Okay. I think I've found something about Vectors now. Thank you very much, I had no idea that I should use that, since I looked at Dynamic Memory and it was telling me about p= new (nothrow) int[n]; or something