Thread: have a go

  1. #1
    Unregistered
    Guest

    Cool have a go

    i want to write a program that can plot x's in a two dimentional array

    the x overwrite the "." when a value is entered for example....

    basically it is to book a row of seats in a theatre and the dots represent seats that are unbooked.


    any ideas??

    thanx

  2. #2
    Registered User
    Join Date
    Sep 2001
    Posts
    305
    youre probably gonna have to use something like gotoxy, check the faq.

  3. #3
    ....
    Join Date
    Aug 2001
    Location
    Groningen (NL)
    Posts
    2,380
    Or create a 2D array like:

    char plot_array [ROWS][COLS];

    Then put an x's at plot_array[row][col] and finally print it on the screen.

Popular pages Recent additions subscribe to a feed
Website Security Test