Re: What is this error?

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Ulrich Eckhardt (doomster_at_knuut.de)
Date: 01/17/05


Date: Mon, 17 Jan 2005 10:45:38 +0100

MA wrote:
> Line that generate error:
>
> typedef vector<string>::value_type value_type;

That should be
  std::vector<std::string>
but that's not the problem as the error message shows[slightly reformatted]:

> error C2653:
> 'vector<std::string, std::allocator<std::string> >'
> is not a class or namespace name
>
> I check and it seems that vector is included to the file.

Double-check that. Also make sure you have the missing 'std::' or using
directives in the code.

Uli



Relevant Pages

  • Re: unboxing problem
    ... if (messageOut is TextBox) ... But I get an error message: ... What would I be missing? ... What using directives do you have at the top ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: unboxing problem
    ... But I get an error message: ... The type or namespace name 'TextBox' could not be found (are you missing ... What would I be missing? ... What using directives do you have at the top ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Win2k Boot Problem
    ... Can you post the exact text of the error message? ... "It says a file is missing or corrupted" ... | contain one or more unrecoverable problems. ...
    (microsoft.public.win2000.general)
  • RE: file scrrun.dll is missing
    ... I understand that the Internet Explorer displays error message stating that ... scrrun.dll file is missing. ... Description of the Internet Explorer Repair Tool ... | Sender: "Robert" ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: msoe.dll error message
    ... Error Message If the Folders.dbx File Is Missing or Damaged ... (MSIMN caused an invalid page fault in module Msoe.dll) ... Use the following newsgroup for questions or problems with OE5 ...
    (microsoft.public.internet.mail)