push_back in vectors

Hello all,

I have a basic question about Vector arrays. I’d like to use the push_back function upon an event, but don’t know how to work with this (have looked at the c++ reference, but didn’t help for me).

// the vector (in testApp.h), using my balloon class

  
vector <balloon> myBalloon;  

// For a trying out purpose I am using it on mousePressed for now

  
  
void testApp::mousePressed(int x, int y, int button){  
		myBalloon.push_back(); //<--- not sure how to use this..  
}  

Thanks for the help.

  
  
myBalloon.push_back(balloon());  
  

Thanks Arturo!

That was easy, I thought t needed an integer, but calling the class make complete sense. (cant believe I got stuck there).