I am making a small program in c ++ and I want to read a .txt file and insert data in a vector.
txt:
int //datatype of the vector 1 2 3