Posts by Luiza • 1 point
1 post
-
0
votes1
answer601
viewsQ: How do I define the push_back function for a c++ structure?
How do I use the function push_back in a structure? I have the arch structure: struct Arco { int i, j; Arco () {}; Arco (const Arco& obj): i(obj.i), j(obj.j) {}; Arco(int _i, int _j) : i(_i),…