value not stored into vector after reading file

Reposting this as I deleted my pervious post because I missed out some parts of the codes.

I am trying to read a textfile containing some informations in this format,

I am able to extract everything except the itemId. Please advise or suggest what I should change/do to get the id. Thanks in advance.

Last edited on
Have you tried stepping through it with a debugger? That way, you could see whether the ID is being correctly read at line 87.
thanks alot. managed to solve it already
Topic archived. No new replies allowed.