Re: copy constructor puzzle
"Howard" <firstname.lastname@example.org> wrote in message news:<email@example.com>...
> "Gavin Deane" <firstname.lastname@example.org> wrote in message
> > >
> > > #include <iostream.h>
> > This should be
> > #include <iostream>
> > using namespace std;
> > GJD
> No need to bring in the entire std namespace, though. This would be enough
> for his purposes:
> using std::cout;
Agreed. I was just too lazy to look through the code to see which
name(s) were used. I don't mind having a using directive for simple
example programs but I wouldn't generally do it in production code.
|All times are GMT. The time now is 04:06 PM.|
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.