-
5 Attachment(s)
graphics
Hello! i am a beginer in C and my english is not good too :/
Well i have homework for my college. Graphics of the super mario game in C. The teacher wants just to use for condition and one if for puting alla graphics together in one programm.Attachment 15520Attachment 15521Attachment 15522Attachment 15523Attachment 15524
-
Are you meant to write code to draw those shapes, or simply use arrays?
Code:
char *shape[] = {
" * ",
" *** ",
"*****",
" * * ",
};
Presumably, this is what you would call N=3, so that when you say N=4, you get a slightly bigger version of the same thing.
For a given shape, do you have to deal with N=3, N=4, N=5, 6 7 8 9 10 (and so on)?