Please help me.
#include<iostream> #include<vector> using namespace std;
struct year{ char* month; int day; };
int main(){
vector<year>arr(("Jan",31),("Feb",28)); vector<year>::iterator iter; for(iter=arr.begin(); iter!=arr.end(); iter++) cout<<iter->month<<" "<<iter->days<<endl; return 0; }
_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail