Encerrado

findC

Complete the “**findC**?? function to satisfy the requirements described below.

"**ch**" holds the character to be searched for.

"**afile**" is a pre-opened file stream.

"**where**" indicates the position where a match is found.

This function returns 1, if "**ch**" is found in "**afile**". Also, "**where**" will hold the position at which the first occurrence of "**ch**" is found. This function returns 0, if "**ch**" is NOT found in afile. Also, "**where**" holds 0, if "**ch**" is not found.

#include <fstream.h>

int findC(char **ch**, fstream & **afile**, int & **where**)

{

int position=1; // current character position in afile

char c;

while (! [url removed, login to view]()) // loop until the end of file

{

afile >> c; // read 1 character from afile into c

.............. Need to be Completed by You .............

} // findC

## 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: stream programming, programming char, char programming, eof, match programming, stream windows form, satisfy form php, php loop form, php char, opened file windows, char php

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

ID do Projeto: #2994195

27 freelancers estão ofertando em média $10 para este trabalho

mziconsultinginc

See private message.

$4.25 USD in 14 dias
(84 Comentários)
6.3
dragomirvw

See private message.

$5.1 USD in 14 dias
(149 Comentários)
5.6
projetcoder

See private message.

$17 USD in 14 dias
(39 Comentários)
5.0
safenet4allinc

See private message.

$15.3 USD in 14 dias
(22 Comentários)
4.8
leepwo

See private message.

$6.8 USD in 14 dias
(41 Comentários)
4.7
makshe

See private message.

$4.25 USD in 14 dias
(41 Comentários)
4.6
shahizanvw

See private message.

$4.25 USD in 14 dias
(46 Comentários)
4.6
vw139994vw

See private message.

$42.5 USD in 14 dias
(60 Comentários)
4.5
seirus

See private message.

$10.2 USD in 14 dias
(36 Comentários)
4.0
teamvw

See private message.

$12.75 USD in 14 dias
(36 Comentários)
3.8
jinri

See private message.

$3.4 USD in 14 dias
(13 Comentários)
3.8
gworroll

See private message.

$8.5 USD in 14 dias
(42 Comentários)
3.7
mixelvw

See private message.

$5.1 USD in 14 dias
(32 Comentários)
3.7
txplorer

See private message.

$4.25 USD in 14 dias
(37 Comentários)
3.7
felenkavw

See private message.

$4.25 USD in 14 dias
(26 Comentários)
3.4
russellsmithvw

See private message.

$8.5 USD in 14 dias
(23 Comentários)
3.4
vladimirlagutin

See private message.

$4.25 USD in 14 dias
(20 Comentários)
3.3
xcodervw

See private message.

$42.5 USD in 14 dias
(6 Comentários)
3.0
ciphereye

See private message.

$11.05 USD in 14 dias
(16 Comentários)
2.7
vw966435vw

See private message.

$4.25 USD in 14 dias
(12 Comentários)
2.5