So I've been trying to read a txt file into a vector. But I can't get it work. The program will start up but then just freeze. Can anyone tell me whats wrong?
By the way: are you sure that "itemID.txt" can be opened (use is_open())? I'd suggest to use an absolute path (like "c:\\temp\\itemID.txt" (notice the "\\" for windows))