I don't code in C very much, so I have a simple question for you all gurus out there. Whats wrong with the following code? I can do it in C++ by passing a class instead of struct...
Thanks!Code:typedef struct{ FILE *controller_param; }Files; void open_files( Files& my_files){ } int main(){ Files my_files; open_files( my_files); return 0; }