how would you do that?
or is it done some other way?Code:void foobar (struct *log);
how would you do that?
or is it done some other way?Code:void foobar (struct *log);
Sure, it's the same as everything else:
Code:return_type function_name(argument_type argument_name);Code:void foo(my_struct* my_arg);
What do you mean?
or you're talking about stating a point that is based on a struct?Code:typedef struct { int name; int familyname; } Names; int main(void) { int *pt; Names test; pt = &test; // This is how you point to a struct! return 0; }
Last edited by eXeCuTeR; 10-26-2007 at 09:07 PM.
Code:typedef struct { int name; int familyname; } Names; int main(void) { Names *pt; Names test; pt = &test; // This is how you point to a struct! return 0; }