You must log in or register to comment.
What was your first girlfriend like?
error: IndexOutOfBoundsException
Ah shoot, she’s actually their zeroth girlfriend
I hate when I am written in Pascal
You gotta allocate your GFs statically or this just keeps happening.
I tried to declare my GF global, but she became an astronaut, and I get linking errors
Mate, your GF is definitely global. I was able to access her just fine… read AND write.
The struct and its CRUD functions seem to be all implemented. Problem is: The
Create
method is never be called.Might be a problem with the factory then.
Plus you won’t worry that you forget to free her
*‘^You gotta allocate you GF$’
Pointer references protected (Canadian) memory.
girlfriend_list->start
Segmentation fault (core dumped)