i want to make a class matrix with int row and column as its attributes.the variable of the class matrix should be two dimensional array of 3x3 matrix.got any idea
This is a discussion on class eek! problem within the C++ Programming forums, part of the General Programming Boards category; i want to make a class matrix with int row and column as its attributes.the variable of the class matrix ...
i want to make a class matrix with int row and column as its attributes.the variable of the class matrix should be two dimensional array of 3x3 matrix.got any idea
Well.... start with the keyword class. Add your class name. Add a {. Add two ints row and column and an array [3][3]. Add a closing }. Add a ;. Done. Now you need an interface. Think about it before you implement it.
hth
-nv
She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."
When in doubt, read the FAQ.
Then ask a smart question.