How can I push_back a struct into a vector?
push_back
struct
struct point { int x; int y; }; std::vector a; a.push_back( ???
struct point { int x; int y; }; vector a; a.push_back( {6,7} ); a.push_back( {5,8} );
Use the curly bracket.