Find Jobs
Hire Freelancers

C Programming Code

$8-15 USD / hour

In Progress
Posted over 10 years ago

$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
Project ID: 4855602

About the project

Remote project
Active 11 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs

About the client

Flag of UNITED KINGDOM
w25hu, United Kingdom
5.0
3
Member since Aug 23, 2013

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.