Re: copy constructor puzzle
"Howard" <email@example.com> wrote in message news:<firstname.lastname@example.org>...
> "Gavin Deane" <email@example.com> 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 06:52 AM.|
Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.