R
Ram Laxman
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
#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