At the moment I have one question about vectors but I want to leave this open ended so if I obtain more questions I can come back here.
So I was looking at different containers for a player inventory that can be dynamically changed on the fly due to events within the game I am working on (like buying new inventory slots) and I wanted to give vectors a try since using an array for this was going to be a pita/impossible.
However I am a little foggy on exactly how vectors operate, sepcifcally in their initilizaiton as a class member. With arrays you need to initlize each element in that array in the constructor after declaring it in the header however when attempting to do the same with this vector I created I get the red lines of failure in VS2010.
Are the elements in a vector supposed to be set in the constructor or are the elements just added as needed without actually needing to "set" them like you do with arrays?