How do you keep taking input as constantly C++ : Let's say that the input is like this:
2
xsad
sadsad

There are no constraints so how do you create a loop function that will keep on going that will store each of those in a string.
Like the first number is the amount of lines of strings. How do you create a loop function that would read the first number ex: 1000 and keep storing it in different strings?