Answered step by step
Verified Expert Solution
Question
1 Approved Answer
In this assignment, you will practice two main Object Oriented C++ programming techniques: operator overloading and template class. Our focus in this course is the
In this assignment, you will practice two main Object Oriented C++ programming techniques: operator overloading and template class. Our focus in this course is the algorithmic concept and solution. Although the class programming skills are equally important, however with limited time available for one semester, we will rely on the powerful container classes provided by the C++ Standard Template Library and open source Boost Library. Even the above library container classes are available to us, we still need to know how to use it and make modification to those ready made containers. The C++ Object Oriented programming techniques are still required, however we will leave out most of the advanced C++ OO programming from this course. You are encouraged to take COMSC-200 Object Oriented C++ Programming in parallel or following this course Each exercise allows you to write a programming solution "from scratch, without a lot of guidance. All that's required is that you apply the programming tools and conventions presented so far in this course. As you complete this assignment, post the required file(s) to the D2L. For assignments that involve more than one file, you may submit them in one zip ZIP file. This assignment is worth 25-points, to be awarded after all assignments are successfully completed. AS2: Fraction Number Linked List The AS2 requires the techinque to create linked list. Since part of the topics are covered in module 3, hence the AS2 due date would be the same as AS3 In this assignment, we are going to create a Fraction Number (Frac.h) class that supports all essential methods required by the STL. We are going to test the features using the STL list container. Two starter files are included: . a sample floating point linked list application (testList.cope) . a fractional number class declaration (interface) (Frac declaration.he) The following steps shall be followed to complete this assignment 1. Complete all method definitions for the Frac class (Frac.h). 2. Change the (STL) list container type in the testList.cpp from the double type to the Frac type. 3. Recreate the same test logic applied on the double list for this Frac list. 4. To verify your work against the sample test below. In this assignment, you will practice two main Object Oriented C++ programming techniques: operator overloading and template class. Our focus in this course is the algorithmic concept and solution. Although the class programming skills are equally important, however with limited time available for one semester, we will rely on the powerful container classes provided by the C++ Standard Template Library and open source Boost Library. Even the above library container classes are available to us, we still need to know how to use it and make modification to those ready made containers. The C++ Object Oriented programming techniques are still required, however we will leave out most of the advanced C++ OO programming from this course. You are encouraged to take COMSC-200 Object Oriented C++ Programming in parallel or following this course Each exercise allows you to write a programming solution "from scratch, without a lot of guidance. All that's required is that you apply the programming tools and conventions presented so far in this course. As you complete this assignment, post the required file(s) to the D2L. For assignments that involve more than one file, you may submit them in one zip ZIP file. This assignment is worth 25-points, to be awarded after all assignments are successfully completed. AS2: Fraction Number Linked List The AS2 requires the techinque to create linked list. Since part of the topics are covered in module 3, hence the AS2 due date would be the same as AS3 In this assignment, we are going to create a Fraction Number (Frac.h) class that supports all essential methods required by the STL. We are going to test the features using the STL list container. Two starter files are included: . a sample floating point linked list application (testList.cope) . a fractional number class declaration (interface) (Frac declaration.he) The following steps shall be followed to complete this assignment 1. Complete all method definitions for the Frac class (Frac.h). 2. Change the (STL) list container type in the testList.cpp from the double type to the Frac type. 3. Recreate the same test logic applied on the double list for this Frac list. 4. To verify your work against the sample test below
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