I thought you said you know how to access the structure element?? list[1] is not an structure member, its a struct.
you have to index the structure not the vector.
That's why I'm having problems with this. I know how you normally acess the structure, but since I want to acess the vector, I don't know how to do it... :(
You're talking something like this?
cout << lista[registo.nome_jogos[1]];
or
cout << registo.game_name; //but this only display the last one, which is "XV"...
I've tried something like this to, and I know that many things I've tried are stupid, but I seriusly have no ideia what to try anymore...
As it is now, Your struct is only available in the main function scope you can not access it outside of main . i would advice you declare your struct above main to avoid futher headaches.