Joined
Last Seen
-4 Reputation Points
- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
0 Endorsements
Ranked #44.2K
Hello everyone i'm a new member , i need ur help with this code , i want to write a for loop that assigns the 3rd row of the array to 0,, and then print out the array after setting the 3rd row to 0. |
|
Re:
I am working on writing a class to define an NxM matrix. A matrix should be printed in the form: [0 1 2] [3 4 5] [6 7 8] [CODE]private: //matrix class member variables unsigned int rows; unsigned int cols; float * data; // constructor matrix::matrix(int r, int c) { … |