c++11 practice codes