I've never used gcc but searching on the error message it seems the likely culprit is "vector" is not defined, usually because of a missing header or a namespace problem. If you have the right header(s) included, maybe "std::vector" will work. std::vector puntos; or using std::vector; ... vector puntos; Mark -- modified at 14:32 Thursday 1st March, 2007