C++ program which converts text into a bmp image