> Sam Lawrance wrote: > >> To pick a slight nit, C has references as well. > > C does not have pass-by-reference like C++ does except via > pointers, but then, in the called function they are treated > as pointers, not like C++ references. > > If you mean something like this: > > int a = 3 ; > int *b = &a ; > > then thats not a reference either. The ampersand in above is the > "address of" operator, which generates a pointer, not a reference.
Thanks for explaining what a reference is, but it's wasted on me. You are correct, I thought C99 supported references but it seems not. _______________________________________________ coders mailing list [email protected] http://lists.slug.org.au/listinfo/coders
