Define and Implent class with header file

Completed Posted Apr 3, 2002 Paid on delivery
Completed Paid on delivery

Write a program to define and implement a class called as myinteger. Define the class in a header file ".h" and implement it in a ".cpp" file. The class should have at least one data member which should be of type "int". The functionality that should be supported will be as follows. A default constructor. A constructor that takes an integer value. A constructor that takes a string value and converts it to an integer. A set value function that sets the integer value. A get value function that returns the integer value. A compare to function that takes another "int" value and compares it with itself . A compare to function that takes another myinteger object and compares it with itself . An add function that adds an int value to itself and returns the value. A divide function that uses an int value supplied as parameter as the divisor and returns the quotient value. A function called raised to, that takes an "int" value as an parameter and raises itself to that value and returns the value ( ie . x to the power y, where x is the myinteger objects "int" value and y is the parameter.) After coding the definition and implementation of the class. Use the class in another file which will have the main function. To get this done use the following steps. Write the definition of the class in "myinteger.h" file. Write the implementation of the file in "[login to view URL]" file. Write a third file called , lets say "[login to view URL]" to use the class. To be able to use the class in the in "[login to view URL]" #include the header file, #include "myinteger.h". Write to code to illustrate all the functionalities of the class. To compile both the source files, do the following on the command line: g++ [login to view URL] [login to view URL] -o usemyinteger.

## Deliverables

Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. Complete copyrights to all work purchased. MUST BE ABLE TO COMPILE ON UNIX USING G++

## Platform

UNIX Using G++ compiler

C Programming Database Administration Engineering Linux MySQL PHP Software Architecture Software Testing SQL UNIX

Project ID: #2844840

About the project

25 proposals Remote project Active Apr 3, 2002

Awarded to:

atdiehmvw

See private message.

$5 USD in 14 days
(11 Reviews)
1.7

25 freelancers are bidding on average $20 for this job

DanD

See private message.

$8.5 USD in 14 days
(212 Reviews)
5.8
domagojvw

See private message.

$12.75 USD in 14 days
(37 Reviews)
5.8
dragomirvw

See private message.

$29.75 USD in 14 days
(151 Reviews)
5.7
srazakvw

See private message.

$12.75 USD in 14 days
(35 Reviews)
5.0
sanatanvw

See private message.

$25.5 USD in 14 days
(72 Reviews)
5.5
leepwo

See private message.

$42.5 USD in 14 days
(41 Reviews)
4.7
asadsufi

See private message.

$25.5 USD in 14 days
(38 Reviews)
4.1
belovlabs

See private message.

$24.65 USD in 14 days
(33 Reviews)
4.0
teamsgreen

See private message.

$21.25 USD in 14 days
(48 Reviews)
4.3
anu2005

See private message.

$21.25 USD in 14 days
(18 Reviews)
4.0
kasperindia

See private message.

$25.5 USD in 14 days
(35 Reviews)
3.9
sofivabiz

See private message.

$42.5 USD in 14 days
(6 Reviews)
3.6
madhusadhanavw

See private message.

$11.05 USD in 14 days
(2 Reviews)
2.9
odysseyvw

See private message.

$18.7 USD in 14 days
(32 Reviews)
3.3
sirjavacodesalot

See private message.

$17 USD in 14 days
(9 Reviews)
3.3
doodleboy

See private message.

$17 USD in 14 days
(2 Reviews)
1.9
seema75vw

See private message.

$8.5 USD in 14 days
(6 Reviews)
1.5
jaggs83

See private message.

$12.75 USD in 14 days
(6 Reviews)
1.6
arionvw

See private message.

$22.95 USD in 14 days
(2 Reviews)
1.0
performancesoft

See private message.

$42.5 USD in 14 days
(1 Review)
0.8