hi, my question is really simple. Im working with streams and i dont know the "end of file" command for c++ (i dont even know if there is such a thing) any help would be appreciated ;D
oh and also, lemme know if this thinking is correct:
i wanna do something like
(pseudocode)
while(!eof)
read file to populate an Event vector (consisting of a string and a number)
ive already populated a vector with a finite capacity but i wanna be able to "push_back" it to fill it with the entire content of the file.
thanks