Search:

Type: Posts; User: ZuK

Search: Search took 0.02 seconds.

  1. Replies
    3
    Views
    712

    struct x { int a; }; struct y { //...

    struct x {
    int a;
    };

    struct y { // defines a struct that contains a member that points to another struct
    struct x * z;
    } s; // s is an instance of a struct y

    void foo(struct y...
  2. Replies
    3
    Views
    712

    struct x { int a; }; struct y { ...

    struct x {
    int a;
    };

    struct y {
    struct x * z;
    } s;

    void foo(struct y bar) {
Results 1 to 2 of 2