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.
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.
Are you meant to write code to draw those shapes, or simply use arrays?
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.Code:char *shape[] = { " * ", " *** ", "*****", " * * ", };
For a given shape, do you have to deal with N=3, N=4, N=5, 6 7 8 9 10 (and so on)?
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.