dr1500
11-05-2002, 06:17 PM
Hey
I learned C++ in school and now I'm doing C.
Can you pass by reference in C?
Right now I'm trying but my compiler (gcc) won't let me.
EX:
void check_mail(int &old_size){}
When I try to compile, it says there's a parse error before '&'. :(
What's up?
Thanks.
Luke
I learned C++ in school and now I'm doing C.
Can you pass by reference in C?
Right now I'm trying but my compiler (gcc) won't let me.
EX:
void check_mail(int &old_size){}
When I try to compile, it says there's a parse error before '&'. :(
What's up?
Thanks.
Luke