Thread: graphics

  1. #1
    Registered User
    Join Date
    Oct 2018

    Red face 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

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    The edge of the known universe
    Are you meant to write code to draw those shapes, or simply use arrays?
    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)?
    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.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. graphics
    By Scarvenger in forum C++ Programming
    Replies: 1
    Last Post: 10-23-2005, 08:38 AM
  2. New to graphics in c++
    By zer0python in forum Game Programming
    Replies: 4
    Last Post: 04-23-2002, 10:11 PM
  3. And graphics again...
    By MathFan in forum Game Programming
    Replies: 1
    Last Post: 04-16-2002, 05:26 PM
  4. Graphics
    By Quantrizi in forum C++ Programming
    Replies: 7
    Last Post: 04-16-2002, 03:10 PM
  5. graphics in C
    By Unregistered in forum C Programming
    Replies: 1
    Last Post: 02-13-2002, 11:06 AM

Tags for this Thread