Find Jobs
Hire Freelancers

C Programming Code

$8-15 USD / hour

Em Andamento
Publicado há mais de 10 anos

$8-15 USD / hour

Write a C program to determine the set of words two documents have in common. The words in common should be printed out in increasing alphabetical order. For the purposes of this coursework a document file is an ASCII file. A sequence of the ASCII characters 'a' to 'z' and 'A' to 'Z' without any other characters in between form a word. Any other character can be considered as a space character (so numbers and any other special characters can all be treated as space). Two words are considered equal if they have the same characters in the same sequence and the same length, independent of case. Your C program must compile on the machines in the Linux lab and should do the following: . 1) Read in two documents from two ASCII files whose filenames are given as first and second command line argument. . 2) Determine the set of words that occur at least once in both documents. . 3) Put these common words in increasing alphabetical order. . 4) Print the ordered list of words on the terminal (stdout). . 5) Process any error conditions and reactsuitably. Only use functions from the standard C library and not any other libraries, and do not directly use any code from other sources, but write your own code for the complete functionality. Try to implement this efficiently with respect to memory and processing speed and document the source code carefully
ID do Projeto: 4855602

Sobre o projeto

Projeto remoto
Ativo há 11 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

Sobre o cliente

Bandeira do(a) UNITED KINGDOM
w25hu, United Kingdom
5,0
3
Membro desde ago. 23, 2013

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.