I am having a hard time finding a compiler where STL works. It seems that it is not as standard as it should be. My gcc compiler (ver 3.x.x) does not accept this code, it complains about the vector declaration in the main program and not the library declaration.
#include<iostream>
#include<vector>
main(){
vector<int> vect;
}
Any thoughts concerning this situation would be appreciated.
STL
Moderator: Board moderators
-
- Guru
- Posts: 584
- Joined: Thu Jun 19, 2003 3:48 am
- Location: Sanok, Poland
- Contact: