Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I have completed the code with the three functions that perform the operation (multiplication, addition, and subtraction), but I do now know how to do
I have completed the code with the three functions that perform the operation (multiplication, addition, and subtraction), but I do now know how to do part 4 where it asks me to create a header file, main file and definition file wile also creating a makefile to compile them all together. Please help!
Here is the link that has to code already written. Please add to it.
https://onlinegdb.com/Hykud72m8
4. Also, submit a header file (project1.h), a definition file (project1.cpp), a main file (main.cpp), and a makefile to compile them together. For this project you are required to perform Matrix operations (Addition, Subtraction and Multiplication). For each of the operations mentioned above you have to make a function in addition to two other functions for 'Inputting' and 'Displaying' the Matrices in Row Order (rows are populated left to right, in sequence). In total there will be 5 functions: 3 for the operations and 2 functions for inputting and displaying the data. Also make sure to use dynamic memory allocation for 2D arrays in your work (at least in the second part (the "main.cpp, project1.cpp, project1.h, and makefile" part)). 4. Also, submit a header file (project1.h), a definition file (project1.cpp), a main file (main.cpp), and a makefile to compile them together. For this project you are required to perform Matrix operations (Addition, Subtraction and Multiplication). For each of the operations mentioned above you have to make a function in addition to two other functions for 'Inputting' and 'Displaying' the Matrices in Row Order (rows are populated left to right, in sequence). In total there will be 5 functions: 3 for the operations and 2 functions for inputting and displaying the data. Also make sure to use dynamic memory allocation for 2D arrays in your work (at least in the second part (the "main.cpp, project1.cpp, project1.h, and makefile" part))Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started