Try reading this on array intialization
http://www.fredosaurus.com/notes-cpp/arrayptr/array-initialization.html
It seems to me that you declare the array 'm' with an inital size of 1, but are trying to add more than one element to the array. I would give a constant size to the array that will be big enough to accomodate a substantial input. Also you must set the array = to the values which must be stored in curly braces{}. Refer to the link if my explanation was unclear.
nav33n commented: :D +0
Grn Xtrm 84 Posting Pro in Training
Grn Xtrm 84 Posting Pro in Training
Towely commented: You're awesome, thanks! +1