3/23/2023 0 Comments Ascii art thumbs up![]() ![]() You can try something like the following: (My C is a bit rusty, from there the "pseudo" code. Something like the following comes to mind: for each line, i to render : // (i.e the height of the letters) Actually, you can skip the render array and simply print each line without a carriage return. A simply nested for loop should do the trick: for each line, i to render (i.e the height of the letters)Ĭoncatenate line i of letter j to the to char* i in the arrayįinally loop though the array and print each line. The actual render would be in an array as well, something along the lines of:Īnd then use concatenation to build each line. (Actually a 2D array would be used where each letter is at a different index.) For example your A would be something like this: char* letter The last time I solved this is to use an array for each line and rendering each letter separately.įirstly, I would represent each letter in an array. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |