Original Post
I''m doing an app in c++ and i''ve run into a problem , here is my code:
). Obviously something is wrong with my code...can anybody help me fix my mistake(s)?
struct mything
{
list counter;
list thing2;
}category;
list categories;
list::iterator counter; //causes the program to crash
as you can see creating an iterator for the struc category causes my app to crash with the message: "Program received signal SIGSEGV, Segmentation fault." (working under gentoo linux