I am currently working on a coding task in which i am required to create a program which takes a string as an input and return a ".ppm" image of that text. I can't figure out a way as to how i should go about solving this problem without using an external library (or maybe with the most basic c++ library).
What i am thinking of doing ...
" Create a 2d array for a every letter in the alphabet and then select and append those characters which are in the string." But this approach seems rather inelegent.
Any suggestion would of great help.