Define and Implent class with header file

Completado Publicado Apr 3, 2002 Pagado a la entrega
Completado Pagado a la entrega

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

Programación en C Administración de bases de datos Ingeniería Linux MySQL PHP Arquitectura de software Verificación de software SQL UNIX

Nº del proyecto: #2844840

Sobre el proyecto

25 propuestas Proyecto remoto Activo Apr 3, 2002

Adjudicado a:

atdiehmvw

See private message.

$5 USD en 14 días
(11 comentarios)
1.7

25 freelancers están ofertando un promedio de $20 por este trabajo

DanD

See private message.

$8.5 USD en 14 días
(212 comentarios)
5.8
domagojvw

See private message.

$12.75 USD en 14 días
(37 comentarios)
5.8
dragomirvw

See private message.

$29.75 USD en 14 días
(151 comentarios)
5.7
srazakvw

See private message.

$12.75 USD en 14 días
(35 comentarios)
5.0
sanatanvw

See private message.

$25.5 USD en 14 días
(72 comentarios)
5.5
leepwo

See private message.

$42.5 USD en 14 días
(41 comentarios)
4.7
asadsufi

See private message.

$25.5 USD en 14 días
(38 comentarios)
4.1
belovlabs

See private message.

$24.65 USD en 14 días
(33 comentarios)
4.0
teamsgreen

See private message.

$21.25 USD en 14 días
(48 comentarios)
4.3
anu2005

See private message.

$21.25 USD en 14 días
(18 comentarios)
4.0
kasperindia

See private message.

$25.5 USD en 14 días
(35 comentarios)
3.9
sofivabiz

See private message.

$42.5 USD en 14 días
(6 comentarios)
3.6
madhusadhanavw

See private message.

$11.05 USD en 14 días
(2 comentarios)
2.9
odysseyvw

See private message.

$18.7 USD en 14 días
(32 comentarios)
3.3
sirjavacodesalot

See private message.

$17 USD en 14 días
(9 comentarios)
3.3
doodleboy

See private message.

$17 USD en 14 días
(2 comentarios)
1.9
seema75vw

See private message.

$8.5 USD en 14 días
(6 comentarios)
1.5
jaggs83

See private message.

$12.75 USD en 14 días
(6 comentarios)
1.6
arionvw

See private message.

$22.95 USD en 14 días
(2 comentarios)
1.0
performancesoft

See private message.

$42.5 USD en 14 días
(1 comentario)
0.8