Thread: Delete Rows And Colums Of Array

  1. #31
    Registered User awsdert's Avatar
    Join Date
    Jan 2015
    Posts
    1,735
    Re-read this thread, if you're smart enough to program you'll notice that all the information you need to do this is provided in this 1 thread, if you can't see it then I can only pray for you if you insist on a career in programming.

  2. #32
    Registered User
    Join Date
    Jan 2015
    Posts
    23
    But i have big problem with writing this program please help me

  3. #33
    Registered User awsdert's Avatar
    Join Date
    Jan 2015
    Posts
    1,735
    It's not hard, first declare/allocate your arrays, then initialise them so you do not get data from the wild, next use copy your desired rows to one index before their original position starting from the index after the row you're going to remove, similarly for columns copy from the index after the column you're going to remove, so for something like this:
    Code:
    table[rowCount][colCount] = {0};
    You would copy entire arrays when removing a row and parts of each array within themselves when removing columns, this is MORE than enough help for you do what you need to do, I'm certain that NOONE (myself included) will be posting anything more on this thread until you try for yourself and post the code you tried with.

  4. #34
    Registered User
    Join Date
    Oct 2006
    Posts
    3,445
    Quote Originally Posted by thedardwhie View Post
    But i have big problem with writing this program please help me
    Nobody is going to write the program for you. End of story. Stop asking.

    Try to do it yourself. Ask specific questions when you can go no further.
    What can this strange device be?
    When I touch it, it gives forth a sound
    It's got wires that vibrate and give music
    What can this thing be that I found?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. HELP 2d array sort rows by its sum value
    By Fromar123 in forum C++ Programming
    Replies: 2
    Last Post: 12-02-2012, 06:50 AM
  2. Swapping rows in a 2D array
    By bassist11 in forum C Programming
    Replies: 5
    Last Post: 03-11-2010, 12:04 PM
  3. displaying with rows and colums
    By tio1225 in forum C++ Programming
    Replies: 1
    Last Post: 09-23-2005, 05:07 PM
  4. sum rows & columns in array
    By ronenk in forum C Programming
    Replies: 7
    Last Post: 06-20-2004, 04:16 AM
  5. Rows and colums
    By Aluvas in forum C++ Programming
    Replies: 3
    Last Post: 11-14-2002, 10:18 PM

Tags for this Thread