Wrong, you have the same problem as in Append():
void AddFirst(char *str, int p, int l){
struct notebook *temp;
temp=(struct notebook *)malloc(sizeof(struct notebook));
...
Type: Posts; User: AndiPersti
Wrong, you have the same problem as in Append():
void AddFirst(char *str, int p, int l){
struct notebook *temp;
temp=(struct notebook *)malloc(sizeof(struct notebook));
...
void Append(char *str, int p, int l){
struct notebook *temp,*right;
temp=(struct notebook *)malloc(sizeof(struct notebook));
//temp=malloc(sizeof(struct notebook));
...