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 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 …
Jump to PostForgot to say that you can use real numbers in matix.
That's ok -- you can't put irrational numbers in an int anyway.
Finding the largest array of positive numbers should be fairly straight forward. Just cound the number of positive numbers until either the end of the …
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.