Added main files for C++98 and C++11.