Some Short Programs in c++98