Thread: How to put more than one numbe in a cell in an array?

  1. #1
    Registered User
    Join Date
    Nov 2011
    Posts
    13

    How to put more than one numbe in a cell in an array?

    I am trying to put more than one number in a cell in an array like each cell has a numbers from 1-9 and then when i put only one number in a cell like 1 later should erase all the ones from rows and columns and all the other cells except the one that i put the number have the values from 2-9.

  2. #2
    Registered User
    Join Date
    Dec 2007
    Posts
    2,675
    And what have you tried?

  3. #3
    Registered User
    Join Date
    Nov 2011
    Posts
    13
    i dont know what i have to do? should i use pointers??

  4. #4
    Registered User
    Join Date
    Sep 2006
    Posts
    8,868
    Oh, that description makes my head hurt.

    Show a small example with VERY LITTLE description, if you would. Use code tags around your example, to keep the spacing just right. (click on the # icon in the advanced editor after highlighting your example.)

  5. #5
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    Quote Originally Posted by menos75ds View Post
    I am trying to put more than one number in a cell in an array like each cell has a numbers from 1-9 and then when i put only one number in a cell like 1 later should erase all the ones from rows and columns and all the other cells except the one that i put the number have the values from 2-9.
    An array cell can hold only one value. An array is just a row or grid of values...

    I strongly suggest you grab your text book (or an online tutorial) and do some serious reading on the topic.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. How to "free" an array cell.
    By skytreader in forum C Programming
    Replies: 3
    Last Post: 02-18-2010, 06:07 AM
  2. new cell phone
    By lruc in forum A Brief History of Cprogramming.com
    Replies: 18
    Last Post: 12-11-2008, 02:34 PM
  3. Adding a comma to numbe string
    By cisokay in forum C Programming
    Replies: 6
    Last Post: 04-14-2005, 06:36 AM
  4. Cell Phones
    By TechWins in forum A Brief History of Cprogramming.com
    Replies: 46
    Last Post: 01-31-2003, 05:16 PM
  5. how to assign a string into a cell of an array
    By zorro in forum C Programming
    Replies: 4
    Last Post: 04-24-2002, 09:18 AM