Re: Newby: VC6 errors

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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.
--
Tim Roberts, timr@xxxxxxxxx
Providenza & Boekelheide, Inc.
.



Relevant Pages

  • Re: [patch 2/6] [Network namespace] Network device sharing by view
    ... to have separate routing tables in each namespace. ... What is the advantage of having separate the routing tables? ... _more_ than one guest where eth0 in a guest can also ...
    (Linux-Kernel)
  • Re: Class .cs file outside App_Code folder (VS2008 Website)
    ... I am not sure what namespace to use to use it elsewhere, but you will have to accomplish that to get it recognized. ... I am not sure this will not stop recompiling, however, as the pages have to recompile to use the new class. ... Can you not set up the code in a separate library and reference the library? ... App_Code folder. ...
    (microsoft.public.dotnet.languages.csharp)
  • [PATCH 039/114] x86, apic: clean up ->ioapic_phys_id_map()
    ... separate the namespace ... remove macros ...
    (Linux-Kernel)
  • Re: object_* and instance_* methods
    ... object falling into the same namespace. ... separate them is by including a namespace as part of the method name. ... Since the set of reserved words in Ruby is very small, ...
    (comp.lang.ruby)
  • Re: HLA macro question?
    ... separately, it fails. ... it compiles. ... separate compilation units but the compiler refuses to compile a ... namespace separately? ...
    (comp.lang.asm.x86)