Find Jobs
Hire Freelancers

C Programming Code

$8-15 USD / hour

In corso
Pubblicato più di 10 anni fa

$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
Rif. progetto: 4855602

Info sul progetto

Progetto a distanza
Attivo 11 anni fa

Hai voglia di guadagnare un po'?

I vantaggi delle offerte su Freelancer

Imposta il tuo budget e le scadenze
Fatti pagare per il lavoro svolto
Delinea la tua proposta
La registrazione e le offerte sui lavori sono gratuite

Info sul cliente

Bandiera: UNITED KINGDOM
w25hu, United Kingdom
5,0
3
Membro dal ago 23, 2013

Verifica del cliente

Grazie! Ti abbiamo inviato tramite email il link per richiedere il tuo bonus gratuito.
Non è stato possibile inviarti l'email. Riprova per piacere.
di utenti registrati di lavori pubblicati
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Caricamento anteprima
Autorizzazione per la geolocalizzazione concessa.
La tua sessione è scaduta ed è stato effettuato il log out. Accedi nuovamente per piacere.