@tabstop: Thanks for the edit! :D
@anduril462: exactly what i was looking for! Thanks so much for the explaination! :D
@laserlight: i must use it, cause my teacher wants.. ;)
Anyway, thanks to all...
Type: Posts; User: LetItB
@tabstop: Thanks for the edit! :D
@anduril462: exactly what i was looking for! Thanks so much for the explaination! :D
@laserlight: i must use it, cause my teacher wants.. ;)
Anyway, thanks to all...
Great! :D
I really, really thanks you!
This is the right way:
int book_list(struct book **l, int *num_books) {
int i;
for (i = 0; i < *num_books; ++i)
printf("[BOOK_LIST]...
I've rewrited the code with a better indentation, also using your method, but it still SEGV
#include <stdio.h>
#include <stdlib.h>
struct book {
int number;
char *title;
I've compiled the code as you suggested me:
#include <stdio.h>
#include <stdlib.h>
struct book{
int number;
char *title;
};
Thanks, i've done a try with your code and .. it compile, but .. SEGV (segmentation fault)
this is the code i've tried:
#include <stdio.h>
#include <stdlib.h>
struct book{
int number;...
[SOLVED]
Hi guys, i'm new here.
I'm not english, so i want to sorry since now, if my english will not be great.
I write here, cause you're my last chance, i'm not understanding linked list with...