How to implement matrices in cpp? Overloading operators (+, -,*,<<and >>) ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to implement matrices in cpp? Overloading operators (+, -,*,<<and >>) ?

I managed to overload the output but it keep showing error when i want to overload input, also i don't know how to make the +, -, * access the 2D array by index and give correct results, please help me out!!

7th Apr 2018, 12:56 PM
Adam Ifnou
Adam Ifnou - avatar
1 Answer
+ 1
Could you show the code?
16th Apr 2018, 9:09 PM
刘宇轩,一个来自西安的喜欢取长昵称的大学生。
刘宇轩,一个来自西安的喜欢取长昵称的大学生。 - avatar