[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [LC++]Default Arguments



On Thu, May 09, 2002 at 09:02:48PM -0400, Jack Lloyd wrote:
> #include <stdio.h>

#include <iostream>

>       void foo() { printf("%d\n", x->foo); }

void foo() { std::cout << x->foo << '\n'; }


Don't teach the newbies here wrong things :p

-- 
Carlo Wood <carlo@alinoe.com>