Original Post
I was searching for a standard vector class that I could use so I wouldn''t have to write my own, and MSDN told me about #include <vector>. I want to have a vector of BITMAP pointers, so I did this:
- f l u c k y p o o
- the geek inside
typedef vector<BITMAP*, allocator<BITMAP> > BITMAPVECT; BITMAPVECT frames;When I try compiling this the compiler gives me these 6 errors for every source file in my project: c:\code\msvc\escape\anim.h(30) : error C2143: syntax error : missing '';'' before ''<'' c:\code\msvc\escape\anim.h(30) : error C2059: syntax error : ''<'' c:\code\msvc\escape\anim.h(30) : error C2238: unexpected token(s) preceding '';'' c:\code\msvc\escape\anim.h(31) : error C2146: syntax error : missing '';'' before identifier ''frames'' c:\code\msvc\escape\anim.h(31) : error C2501: ''BITMAPVECT'' : missing storage-class or type specifiers c:\code\msvc\escape\anim.h(31) : error C2501: ''frames'' : missing storage-class or type specifiers