I need to write a code that is gonna remove a whole row/column in a matrix(either static or dynamic matrix)
Stefan_2
0
Newbie Poster
Recommended Answers
Jump to PostWhat do you mean by "matrix", what do you mean by "remove"?
Jump to PostYou can't just remove a row from a statically allocated array, and it's a little tricky to remove a row from a dynamically allocated array.
For statically allocated arrays the best you can do is to copy the contents of all the rows you don't want to remove up to …
All 6 Replies
Moschops
683
Practically a Master Poster
Featured Poster
Stefan_2
0
Newbie Poster
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
Stefan_2
0
Newbie Poster
Stefan_2
0
Newbie Poster
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.