Find Jobs
Hire Freelancers

C++ Small Work Operator Overload

$10-30 CAD

Completed
Posted about 7 years ago

$10-30 CAD

Paid on delivery
Most of the code is already there. I do not expect to pay too much as this will be an easy job for you. I will be providing all the files and instructions very easy for you. Your main task is to complete the code of the Fraction class by defining the operator functions as member functions. Part of overall job: Write the definitions and prototypes of following functions in [login to view URL] and Fraction.h respectively (They are indicated in the files by //TODO tag): Define isEmpty function as a member function, which returns true if the object is in safe empty state (an object is in the safe empty state if denominator (denom) equals -1). Define display function, which sends a Fraction number to the output stream (with the “Numerator/denominator” format). This function just prints "Invalid Fraction Object!" in the screen if the object is in the safe empty state. In case that object denominator equals 1, it just print the numerator. Define the operator functions for the following operators: “+=”, “+”, “*” The overload of the above operators should make the following code possible: The member operator+ : Adds two Fraction numbers and returns a Fraction number as the result. This function returns an object with the safe empty state if either of Fraction numbers (operands) is in safe empty state. It makes following code possible: A+B ( where A and B are Fraction objects) The member operator+= : Adds two Fraction numbers and assigns the result to the left operand, then returns a reference to the left operand. If either of Fraction numbers (operands) is in safe empty state, it initializes the left operand to the safe empty state, then returns a reference to the left operand. It makes following code possible: A+=B ( where A and B are Fraction objects) The member operator* : Multiplies two Fraction numbers and returns a Fraction number as the result. This function returns an object with the safe empty state if either of Fraction numbers (operands) is in safe empty state. It makes following code possible: A*B ( where A and B are Fraction objects)
Project ID: 13192845

About the project

14 proposals
Remote project
Active 7 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
i'm an experienced C++/VC++ developer with solid background of OOP,Data structures and STL. you'll get your job done perfectly. have a look at my profile and reviews :)
$40 CAD in 0 day
5.0 (20 reviews)
4.6
4.6
14 freelancers are bidding on average $32 CAD for this job
User Avatar
************************ Solution within 2 Hours ******************************************************* HI Contact me for an efficient, perfect, well documented development of your project according to 100% accuracy and requirements, with dedicated support. Thanks Farah Saif
$30 CAD in 1 day
5.0 (484 reviews)
7.3
7.3
User Avatar
Hi, I am experienced in C++ and object oriented programming. I can do this today. Please contact me.
$30 CAD in 1 day
4.9 (111 reviews)
6.4
6.4
User Avatar
I m software engineer. I have read the description and I would like to work for you. For further details please inbox me. Thank you
$70 CAD in 1 day
4.9 (56 reviews)
6.1
6.1
User Avatar
Hello, I am expert in java/c/c++/python/C# and i can deliver your task in the least time and least payments. The code will be well commented and well formatted for better understanding. I believe in long term relations so first check your work then release the payments. Pm me for further details. Thank You!
$30 CAD in 1 day
5.0 (105 reviews)
5.6
5.6
User Avatar
A proposal has not yet been provided
$30 CAD in 2 days
5.0 (10 reviews)
3.3
3.3
User Avatar
Hello, read your description and want you to know that I've been working into c++ for almost 3 years with numerous projects in portfolio. I have worked on numerous small and big projects. Your tasks are simple one and I'm 110% sure to provide you complete solution. Your satisfaction by the quality of work is guaranteed. We can discuss further details in pm. Thanks kind regards, Faizan Ahmed
$30 CAD in 1 day
5.0 (1 review)
2.3
2.3
User Avatar
Dear Sir, em a programmer and java/c++ developer, have recently worked on 5 assignment and completed before allocated time. You may please review the comments on my profile to know about my previous work.. I have been working n an IT company on similar projects for 6 years. I am new here and having very less project on my profile but i do have offline work that i may show you for your satisfaction to hire me and get ur application done in given time and less cost. I do believe in long term business relationship. Please approve my bid so that i may start working on your application.
$10 CAD in 1 day
5.0 (1 review)
1.7
1.7
User Avatar
Hello, I am interested in this project. I will do operator loading for you. I did a project before you as well and i hope you liked that as well. Thank You
$20 CAD in 1 day
5.0 (1 review)
0.6
0.6
User Avatar
Hello sir, i am c++ programmer with 2 year experience ! i am new here ! i can make this task in one day .and i agree with your payment conditions. looking forward to hear from you!
$15 CAD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
I think your's task is very simple so i want to done your's job very cheap. I think i'll do it in two-three hours.
$15 CAD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of CANADA
Hamilton, Canada
5.0
33
Payment method verified
Member since Feb 22, 2016

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.