so i insert values from a vector into a list and into a multiset,
and i noticed zero is added to their contents!
I had to do a whole lot of debugging to find out where the error was, how can i stop this thing?
am gonna try to post a part of my code which generates such error...
infact i checked the content of vector ups to be sure there was no zero in it,
but after loading into list combi_t * head, it seems like there was a zero added and this is giving me errors when i call function master_roller...
> so i insert values from a vector into a list and into a multiset,
there is no mention of a multiset in your code
> and i noticed zero is added to their contents!
¿how did you check that?
> am gonna try to post a part of my code which generates such error...
in order for your code to generate the error, we should be able to compile and run it and get the erroneous output that you mention.
Anything else is useless.
> but after loading into list combi_t * head,
¿why aren't you using std::list?
> is giving me errors when i call function master_roller...
«giving errors» is not descriptive
also, you haven't posted the master_roller function