Code: Select all
vector<int>* p; p=new vector<int>(); p->push_back(4); p->push_back(8); printf("%d\n", (*p)); delete p;
You should read until end-of-file. That's all. Good luck!Justin wrote:If the program is wanting more than 4 inputs or there is some strict strict procedure that you aren't telling people who're new to this system, i'd like to know.