Find Jobs
Hire Freelancers

array

$10-15 USD

Em Andamento
Publicado há quase 21 anos

$10-15 USD

Pago na entrega
-This must be done in C++ not C. Write a funtion called delete_repeats that has a partially filled array of characters as a formal parameter and that deletes all repeated letters from the array. Since a partially filled array requires two arguments, the funtion will actually have two formal paramters: an array parameter and a formal parameter of type int that gives the number of array positions used. When a letter is deleted, the remaining letters are moved forward to fill in the gap. This will create empty positions at the end of the array so that less of the array is used. Since the formal parameter is a partially filled array, a second formal parameter of type int will tell how many array positions are filled. This second formal parameter will be a call by reference parameter and will be changed to show how much of the array is used after the repreated letters are deleted. For example: char a[10]; a[0]='a'; a[1]='b'; a[2]='a'; a[3]='c'; int size=4; delete_repeats(a,size); After this code is executed, the value of a [0] is 'a', the value of a [1] is 'b', the value of [2] is 'c', and the value of size is 3. You may assume that the partially filled array contains only lowercase letters. Embed your function in a suitable test program. ## 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) Complete ownership and distribution copyrights to all work purchased. 4) Must be done in C++ not C. ## Platform Must work in Windows operating system.
ID do Projeto: 2937426

Sobre o projeto

10 propostas
Projeto remoto
Ativo há 21 anos

Quer ganhar algum dinheiro?

Benefícios de ofertar no Freelancer

Defina seu orçamento e seu prazo
Seja pago pelo seu trabalho
Descreva sua proposta
É grátis para se inscrever e fazer ofertas em trabalhos
Concedido a:
Avatar do Usuário
See private message.
$6 USD em 14 dias
4,9 (78 avaliações)
4,6
4,6
10 freelancers estão ofertando em média $9 USD for esse trabalho
Avatar do Usuário
See private message.
$11,05 USD em 14 dias
5,0 (19 avaliações)
4,9
4,9
Avatar do Usuário
See private message.
$8,50 USD em 14 dias
4,1 (54 avaliações)
4,8
4,8
Avatar do Usuário
See private message.
$8,50 USD em 14 dias
5,0 (47 avaliações)
4,5
4,5
Avatar do Usuário
See private message.
$12,75 USD em 14 dias
5,0 (18 avaliações)
4,2
4,2
Avatar do Usuário
See private message.
$8,50 USD em 14 dias
5,0 (18 avaliações)
3,5
3,5
Avatar do Usuário
See private message.
$11,90 USD em 14 dias
5,0 (19 avaliações)
3,2
3,2
Avatar do Usuário
See private message.
$12,75 USD em 14 dias
5,0 (6 avaliações)
2,3
2,3
Avatar do Usuário
See private message.
$4,25 USD em 14 dias
5,0 (12 avaliações)
2,3
2,3
Avatar do Usuário
See private message.
$8,50 USD em 14 dias
5,0 (4 avaliações)
0,9
0,9

Sobre o cliente

Bandeira do(a) UNITED STATES
United States
5,0
6
Membro desde abr. 17, 2003

Verificação do Cliente

Obrigado! Te enviamos um link por e-mail para que você possa reivindicar seu crédito gratuito.
Algo deu errado ao enviar seu e-mail. Por favor, tente novamente.
Usuários Registrados Total de Trabalhos Publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Carregando pré-visualização
Permissão concedida para Geolocalização.
Sua sessão expirou e você foi desconectado. Por favor, faça login novamente.