Hello. I would like to know how I set in Points(x,y) to a list. Like this:
Any ideas how it should look like?Code:#include <list> //Defining point type typedef struct Point{ int x, y; }Point; using namespace std; list<int> lista; lista.push_back(???);