Re: Newby: VC6 errors
- From: "Bo Persson" <bop@xxxxxx>
- Date: Sun, 17 Feb 2008 05:12:25 +0100
Tim Roberts wrote:
David Wilkinson <no-reply@xxxxxxxxxxxx> wrote:
You are also missing:
#include <string>
I would also recommend not to use
using namespace std;
in a header file. It defeats the whole purpose of having a
separate namespace for the standard library.
I'm not sure that's true. The "whole purpose" of having a separate
namespace is to let me choose whether I'm willing to pollute my
global namespace.
Sure, as long as you are the sole user of that header file. If it is
also used by others, you have made the choice for them as well. Not
always appreciated!
Bo Persson
.
- References:
- Newby: VC6 errors
- From: Blue Streak
- Re: Newby: VC6 errors
- From: Brian Muth
- Re: Newby: VC6 errors
- From: Blue Streak
- Re: Newby: VC6 errors
- From: David Wilkinson
- Re: Newby: VC6 errors
- From: Tim Roberts
- Newby: VC6 errors
- Prev by Date: Re: Newby: VC6 errors
- Next by Date: Re: setting LFH (low fragmentation heap) on handles returned by getprocessheaps()
- Previous by thread: Re: Newby: VC6 errors
- Next by thread: Re: Newby: VC6 errors
- Index(es):
Relevant Pages
|