Thread: Delete Rows And Colums Of Array

  1. #16
    Registered User
    Join Date
    Jan 2015
    Posts
    23
    I dont know how to do this ?!

  2. #17
    Registered User
    Join Date
    Jan 2015
    Posts
    23
    appendRow( rows, &rowCount );
    rows = insertRow( rows, &rowCount, 6 );
    Thank you but i want code without any functions used thank you for help

  3. #18
    Registered User awsdert's Avatar
    Join Date
    Jan 2015
    Posts
    1,733
    removing columns would have similar behaviour to the rmRow except you'd have to move memory across before reallocating a smaller array as you loop through each row

  4. #19
    Registered User awsdert's Avatar
    Join Date
    Jan 2015
    Posts
    1,733
    dude no functions for those actions means bloated code, plus that was an example of what could be done, YOU have to try first, there's plenty of examples on the web showing how to work with tabular data

  5. #20
    Registered User
    Join Date
    Jan 2015
    Posts
    23
    Ok, thanks for second time but can you please write this program just with loops

  6. #21
    Registered User
    Join Date
    Nov 2010
    Location
    Long Beach, CA
    Posts
    5,909
    Quote Originally Posted by thedardwhie View Post
    Ok, thanks for second time but can you please write this program just with loops
    Apparently you are hard of hearing, so I will yell, to make sure you understand.

    NOBODY WILL WRITE YOUR CODE FOR YOU!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

  7. #22
    Registered User
    Join Date
    Jan 2015
    Posts
    23
    i dont know how To start you say use this fucntions thats very rediculess

  8. #23
    Registered User
    Join Date
    Jan 2015
    Posts
    23
    now i can write something but if i copy it to here it wouldnt help me and u cant fix this just write this

  9. #24
    Registered User
    Join Date
    Nov 2010
    Location
    Long Beach, CA
    Posts
    5,909
    Quote Originally Posted by thedardwhie View Post
    i dont know how To start you say use this fucntions thats very rediculess
    Telling you to use functions is not ridiculous. Your attitude of "I'm helpless, do it for me" is what is ridiculous.

    No disrespect to awsdert or Nominal Animal's code samples, they're fine, but they appear to not be what you are looking for. Don't use the functions or structs suggested.

    However, I gave you some sample code to get you started in post #8. I gave you a few more lines in the first snippet of post #14.

    You couldn't add one single line. I told you it didn't have to work, that broken code was okay. You just had to try. Make some sort of effort. But you didn't. You have made absolutely zero effort. You have spent far more time begging for free code (which clearly isn't working) than it would have taken to read a couple tutorials/chapters on for loops and arrays, and make an attempt. This is a very poor reflection on you as a student, a programmer and a person in general.

    I'm done with this thread.

  10. #25
    Registered User
    Join Date
    Jan 2015
    Posts
    23
    Your Answer is true i accept it with my heart
    But i am not lying Please Just Help me write this code for me

  11. #26
    Registered User awsdert's Avatar
    Join Date
    Jan 2015
    Posts
    1,733
    Neither party gains if someone else writes it for you, if you willing to pay then there are sites where you can hire a programmer to do it for you but if you do so will learn nothing and your money will be wasted.

  12. #27
    Registered User
    Join Date
    Jan 2015
    Posts
    23
    Ok if you write it simply and u explain it for me i would learn it

  13. #28
    Registered User awsdert's Avatar
    Join Date
    Jan 2015
    Posts
    1,733
    We did explain it simply, actually to make a point to you here, I did not attend a single course in C/C++ nor did I read any tutorials beyond the initial "hello world" to get a basic understanding of how the language is used, I simply used the bountiful references on the web (just google "c c++ reference") to build up my knowledge from the ground to allow me to program the small apps I wanted to program at the time, I later decided to begin making the app (that I have referenced elsewhere in this forum) that I am making now which forced me to lookup complicated APIs (and techniques for something I had no idea where to start from on), as I completed each section of the app my understanding of C got better and I am now able to help a little on forums like these.

    The lesson to be learned is this: If you cannot be bothered to try, fail and try again so that you can actually LEARN something then programming is just not the field for you.

  14. #29
    Registered User
    Join Date
    Sep 2014
    Posts
    364
    Quote Originally Posted by thedardwhie View Post
    Ok, thanks for second time but can you please write this program just with loops
    Yes!
    Other have classes, we are class

  15. #30
    Registered User
    Join Date
    Jan 2015
    Posts
    23
    I have Though About this question a lot but no result

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