On Tue, 22 Jun 2010 16:42:46 -0400, Tomek Sowiński <j...@ask.me> wrote:
double q; readf("%s", &q);Why it takes a pointer, not a ref?
Probably because it's variadic, so the compiler will pass by value if you don't use a pointer.
-Steve
On Tue, 22 Jun 2010 16:42:46 -0400, Tomek Sowiński <j...@ask.me> wrote:
double q; readf("%s", &q);Why it takes a pointer, not a ref?
Probably because it's variadic, so the compiler will pass by value if you don't use a pointer.
-Steve