Data Structure in C++