Hi,
i have a question about inserting structvalues in a list.
i want to add now values to that list. How can i do it? i have multiple books but they do not describe how to *grmbl*Code:#include <list> #include <iostream> typedef struct{ int x; int y; }tfingertips; using namespace std; typedef list<tfingertips> FINGERLIST; int main () { FINGERLIST::push_back() = ; FINGERLIST::push_back() = ; FINGERLIST::push_back() = ; return 1; }
Thanks in advance!
~Jan