Find Jobs
Hire Freelancers

C program with using data structure

$10-30 CAD

Completed
Posted about 9 years ago

$10-30 CAD

Paid on delivery
Write a complete C program which comes up with suggestions for a Scrabble-like game. Your program must have take in 1 command-line argument, which is the filename of a list of words which are in the dictionary. (See [login to view URL] for an example word list). Each word in the word list will be on a separate line. You may assume that the word list will be in alphabetical order. Your program will then read in requests from standard input (e.g., the keyboard). Each request will be on a separate line. Each request will begin with a positive integer value, followed by a space, followed by some characters. For example: 6 aba For each request, your program must print out the LONGEST word in the dictionary, which: Begins with the specified letters (e.g., in the example above, the word would have to begin with "aba") Is less than or equal to the specified number in length (e.g., in the example above, the word could not be longer than 6 characters) Has not been print out before. Using the "6 aba" example above, your program should try to find a 6-letter word beginning with "aba", such as "abacus". If it had already given "abacus" for a previous request, then it would be required to give a different word (such as "abased"). If multiple words match the criteria and are the longest, you can return whichever one you like.
Project ID: 7419171

About the project

10 proposals
Remote project
Active 9 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
Awarded to:
User Avatar
Hello, I begun to write this software (not yet tested): [login to view URL] I have to debug it and add comments (not yet tested) if you choose me :)
$15 CAD in 1 day
3.6 (1 review)
0.1
0.1
10 freelancers are bidding on average $22 CAD for this job
User Avatar
A proposal has not yet been provided
$25 CAD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
Hey, I'm a Master student in Software Engineering :P I can help you with this from the other half of the globe!
$25 CAD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
A proposal has not yet been provided
$25 CAD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
.This project is easy. I can complete it in 60 minutes. I am ranked at top1% in algorithm/coding websites like codeforces and topcoder (user-name : shank_punk) . I can guarantee 100% satisfaction. You can have a look at my freelancer profile if you have any doubt regarding my programming skills
$19 CAD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
A proposal has not yet been provided
$25 CAD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
I can complete your assignment in under 1 hour. I have complete knowledge of C. I am used to dealing with assignments, and dealing with formatted input and output files. This task is simple and involves creating a data structure to hold inputs, composed of an integer and a string. Then creating an array of such records, storing the whole input file in this new data structure. Writing a function that takes a record and outputs a string chosen from the dictionary. I can also comment and explain the source code in case you have any doubts. My english and communication skills are excellent. Thanks.
$19 CAD in 0 day
0.0 (0 reviews)
0.0
0.0
User Avatar
A proposal has not yet been provided
$25 CAD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
A proposal has not yet been provided
$25 CAD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of CANADA
Brampton, Canada
5.0
1
Payment method verified
Member since Apr 3, 2015

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.