Search:

Type: Posts; User: LetItB

Search: Search took 0.00 seconds.

  1. Replies
    12
    Views
    14,445

    @tabstop: Thanks for the edit! :D @anduril462:...

    @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...
  2. Replies
    12
    Views
    14,445

    Great! :D I really, really thanks you! This is...

    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]...
  3. Replies
    12
    Views
    14,445

    I've rewrited the code with a better indentation,...

    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;
  4. Replies
    12
    Views
    14,445

    I've compiled the code as you suggested me: ...

    I've compiled the code as you suggested me:


    #include <stdio.h>
    #include <stdlib.h>

    struct book{
    int number;
    char *title;
    };
  5. Replies
    12
    Views
    14,445

    Thanks, i've done a try with your code and .. it...

    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;...
  6. Replies
    12
    Views
    14,445

    [SOLVED] - [C] Pointer to a Pointer to a Structure

    [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...
Results 1 to 6 of 6