I would use a one dimensional array or vector, as hamsterman suggested. While it's arguably slightly less readable, it will make the rest of your programming much easier.
If I have to choose between vectors or dynamic arrays, I feel that vectors are easier to deal with and there is less possibility for memory leaking. Therefore unless there is a specific reason why I may NEED a dynamic array, I'll take vectors.