how to use std::list with a struct
if i have a struct like this
1 2 3 4 5 6
|
struct combi_t
{
int val0;
int val1;
int val2;
combi_t* nextPtr;
|
and i want to implement std::list loadint types of combi_t,
so i do
how do i load each member of combi t into head ? at every head.push_back() how do I add members val0, val1, val2? thanks in advance
Last edited on
Topic archived. No new replies allowed.