All list problem with C++