[C++]Get a good container for my shops

Joined
Sep 9, 2008
Messages
1,947
Reaction score
390
Ok, here is my problem.

I have around 39 shops for my server (its for flyff developed by myself and my team). Now, each shop has four tabs which hold different items (i,e, one tab for each class). So I need to make a container that will hold all of the data.

Im a little shaky on vector and I do want to use it. most likely how I have it on paper is each vector is called by id which also holds four arrays of item ids.

Does that make sense?

how would i go about doing this?

should I do vector<int, shopitems> or is there and easier way to go about this?
 
Back