Re: Does Vector is not supported by VC++ 6.0??
From: Carl Muller (carlmuller_at_hotmail.com)
Date: 02/09/04
- Next message: DeMarcus: "Is this bad const design?"
- Previous message: nog: "Re: I write a virus in C++"
- In reply to: Ram Laxman: "Does Vector is not supported by VC++ 6.0??"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 9 Feb 2004 03:30:15 -0800
ram_laxman@india.com (Ram Laxman) wrote in message news:<24812e22.0402080308.6024a6d2@posting.google.com>...
> I have used vector in the VC++ compiler. I have included
>
> #include <string>
> #include <algorithm>
> #include <vector>
>
> std::vector<int> field;
> std::vector <int>::size_type i;
>
>
> test.cpp(135) : error C2653: 'std' : is not a class or namespace name
> error C2143: syntax error : missing ';' before '<'
> error C2501: 'vector' : missing storage-class or type specifiers
> error C2143: syntax error : missing ';' before '<'
> error C2653: 'std' : is not a class or namespace name
>
>
> Does anybody know what is the problem??
>
> Regards
> Bubunia
Most likely you have an error in one of the header files or
declarations you are including before line 135 that you have omitted,
for example defining a class or an enum without putting a semicolon
after it.
- Next message: DeMarcus: "Is this bad const design?"
- Previous message: nog: "Re: I write a virus in C++"
- In reply to: Ram Laxman: "Does Vector is not supported by VC++ 6.0??"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|