List in C++ works