Ye that was why.
Allocated space for data now and no seg fault. good times.
now show function displays nothing. bad times.
Type: Posts; User: Bebs
Ye that was why.
Allocated space for data now and no seg fault. good times.
now show function displays nothing. bad times.
not sure anymore I have got mind in a twist now.
Your first question I think lis1 should contain only the first payload element I created there.
void insert(List head, Payload p){
List...
No idea really :) I've started the insert function again from scratch.
I'm trying to create a list where each element is a structure containing file attributes. I seem to have the the list construction ok but my Insert function is not working. All compiles but I get a...