error C2065: 'vector' : undeclared identifier error C2062: type 'char' unexpected
Primary tabs
1>
1>d:\bu-bu\training programs\my\c++\pro\my_printf\my_printf\my_printf.cpp(42): error C2065: 'vector' : undeclared identifier
d:\bu-bu\training programs\my\c++\pro\my_printf\my_printf\my_printf.cpp(42): error C2062: type 'char' unexpected
для использования vector следует писать как-то так:
// test.cpp
#include <vector>
using namespace std;
void foo() {
vector<int> v;
}
http://social.msdn.microsoft.com/forums/en-US/vcgeneral/thread/e9863a51-91f3-4304-b4e1-de1d9cd1d494
- vedro-compota's blog
- Log in to post comments
- 5572 reads