Em Andamento

Phone Records

Need to rewrite program into an **object oriented** program. Processes phone records.

int main()

{

int cnt = 0, k, i;

char temp[31];

char name[MAX][31], phonenum[MAX][21];

fstream infile("[url removed, login to view]");

if ([url removed, login to view]())

{

cerr << "Failed to open data file\n";

return 1;

}

while (! [url removed, login to view]())

{

infile >> name[cnt] >> phonenum[cnt];

++cnt;

} // while

[url removed, login to view](); // close the data file

for (i=0; i < cnt-1; ++i)

for (k=i+1; k

if (strcmp(name[i], name[k]) > 0)

{ /* swap */

strcpy(temp, name[i]);

strcpy(name[i], name[k]);

strcpy(name[k], temp);

strcpy(temp, phonenum[i]);

strcpy(phonenum[i], phonenum[k]);

strcpy(phonenum[k], temp);

}

for (k=0; k < cnt; ++k)

cout << name[k] << " " << phonenum[k] << endl;

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request.

3) Exclusive and complete copyrights to all work purchased. (No GPL, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site).

## Platform

Windows 98/2000/XP

Habilidades: Programação C, Engenharia, MySQL, PHP, Arquitetura de software, Teste de Software

Ver mais: return oriented programming, object oriented programming explained, data oriented programming, programming strcpy, programming strcmp, programming char, char programming, max k, phone name, object oriented program, phone, eof, endl, windows phone source, open source phone, install phone, windows phone source code, file swap, php swap, windows phone code, code windows phone, phone programming software, php char, open phone, open file max

Acerca do Empregador:
( 7 comentários ) United States

ID do Projeto: #2993027

Premiar a:

seirus

See private message.

$17 USD em 2 dias
(36 Avaliações)
4.0

47 freelancers estão ofertando em média $17 para este trabalho

mziconsultinginc

See private message.

$12.75 USD in 2 dias
(84 Comentários)
6.3
kdz13

See private message.

$29.75 USD in 2 dias
(74 Comentários)
6.3
SKDevelopment

See private message.

$4.25 USD in 2 dias
(23 Comentários)
5.9
cegamisoftware

See private message.

$4.25 USD in 2 dias
(55 Comentários)
5.8
bgncoder

See private message.

$8.5 USD in 2 dias
(11 Comentários)
5.8
dragomirvw

See private message.

$11.05 USD in 2 dias
(149 Comentários)
5.6
crcoder

See private message.

$8.5 USD in 2 dias
(39 Comentários)
5.4
projetcoder

See private message.

$25.5 USD in 2 dias
(39 Comentários)
5.0
leepwo

See private message.

$55.25 USD in 2 dias
(41 Comentários)
4.7
herculesevw

See private message.

$10.2 USD in 2 dias
(79 Comentários)
4.7
syedmuradali

See private message.

$12.75 USD in 2 dias
(37 Comentários)
4.6
vw139994vw

See private message.

$25.5 USD in 2 dias
(60 Comentários)
4.5
preyasvw

See private message.

$42.5 USD in 2 dias
(34 Comentários)
4.4
shabbirbhimani

See private message.

$12.75 USD in 2 dias
(33 Comentários)
4.2
AlexMart

See private message.

$25.5 USD in 2 dias
(15 Comentários)
4.1
bullsora

See private message.

$15.3 USD in 2 dias
(25 Comentários)
4.0
teamvw

See private message.

$12.75 USD in 2 dias
(36 Comentários)
3.8
bogdan123vw

See private message.

$10.2 USD in 2 dias
(48 Comentários)
3.8
gworroll

See private message.

$21.25 USD in 2 dias
(42 Comentários)
3.7
doremifasollasi

See private message.

$11.05 USD in 2 dias
(1 Comentário)
3.3