Search:

Type: Posts; User: d320

Search: Search took 0.02 seconds.

  1. Replies
    5
    Views
    1,454

    I just figured out a solution, thanks to everyone...

    I just figured out a solution, thanks to everyone who replied though!
  2. Replies
    5
    Views
    1,454

    Ah, thanks for clearing that up for me, I get...

    Ah, thanks for clearing that up for me, I get confused in differentiating malloc-ing pointers and just setting the array size.

    But if I change that to just



    char *names[10];


    I still...
  3. Replies
    5
    Views
    1,454

    It's not exactly, mob has to be a pointer but I'm...

    It's not exactly, mob has to be a pointer but I'm not sure how to implement it in such a way..
  4. Replies
    5
    Views
    1,454

    Pointer Array Question

    I'm still pretty new to C programming and I was wondering if someone could tell me why the following code results in a seg fault:



    typedef struct mob mob_t;
    struct mob {
    char *names[10 *...
Results 1 to 4 of 4