Question: Assignment 1- Templates and Classes Object Oriented Programming using C++ Due: Monday, September 17th 11:59pm Pacific Time What you will learn Implementing templates Improve grasp

 Assignment 1- Templates and Classes Object Oriented Programming using C++ Due:

Assignment 1- Templates and Classes Object Oriented Programming using C++ Due: Monday, September 17th 11:59pm Pacific Time What you will learn Implementing templates Improve grasp on file I/O Coding exercise This exercise extends Lab 2, so make sure you start this after you finish Lab 2 before starting this assignment. 1. Create a new C++project with the same complexNumber as lab 2 implemented as a template a. Create a class called complexNumber that stores a complex number of the form a+bi a is the real and b is the imaginary part of the number. The type of the numbers a and b should be generic. Implement the ability to add, subtract, and multiply two complexNumber objects to create another complexNumber object by overloading operators +,-, and Overload the operators >> and

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!