putting more than 2 results into one <vector>

Hi: Thanks for looking and responding!

Question:
Is it possible to put more than one result into the same vector?

Example:

Xmatch = (array1[a] * Line1_ValueX) + line2_ax;



Ymatch = (array1[a] * Line1_ValueY) - line2_ax;

//store values to vector
aspectsX.push_back(Xmatch);<<<<<????Can I add Ymatch into this vector, so that all results will be held in this vector?????????????


Thanks!!!!!!!!!!!!!!!!
Vectors can store arbitrary numbers of elements. Just call push_back a second time.
Topic archived. No new replies allowed.