I have a problem with assigning 'a' in with the following code:
int *a;
list<int> new_list;
new_list.push_back(5);
a=new_list.front();

can anyone tell me how can i store the first element...