Show Bid Request
Differentiate between high-level and low-level i/o routines
Bid Request Id: 12619
|
|
|
Posted by: |
NeedHelp!! (5 ratings)
(Software buyer rating 10)
|
Non-action Ratio: |
Very Good - 0.00%
|
Posted: |
Apr 4, 2002 1:09:32 AM EDT
|
Bidding Closes: |
Apr 8, 2002 3:39:11 AM EDT
|
Viewed (by coders): |
199 times
|
Deadline: |
4/9/2002
TIME EXPIRED
|
|
|
|
Description:
Purpose of project is to highlight differences in high-level and low-level I/O routines.
Write two programs which will read a text file from disk (file name with path given on the command line), change all capital letters to lower case and all lower case letters to capitols, then write the output to another file. Call the new fiel newfile.txt
First verson of the program (name the source high_io.ck) should use the standard high-level I/O library <stdio.h> as described. You may use getc() and putc() or fgets() and fputs() or fread()nd fwrite(), as you like. Optionally you may experiment doing it two or three ways.
Second version of the program (name the source low_io.c) is a rewrite using low-level I/O (read() adn write () commands). Experiment with different buffer sizes to see if it makes a spped difference. (Note: to see any difference you may need a large text file. Write a simple program or script to write a sample string such as "The rain in Spain falls mainly on the plain.\n" to a file for 1000 or more lines)
If you want to practice your C skills, you can reverse each line. That is, the sample line would become "plain the on mainly falls Spain in rain The".
Need to be able to check all system calls for return codes (use perror()).
Deliverables: Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
What I want is a completed version programmable in C ONLY I can get to run most importantly.
Complete copyrights to all work purchased.
Platform:
Needs to run on Linux
Must be 100% finished and received by buyer on:
Apr 9, 2002 EDT
Deadline legal notes: All times are expressed in the time zone of the site EDT (UT - 5). If the buyer omitted a time, then the deadline is 11:59:59 PM EDT on the indicated date.
Special Conditions / Other:
MUST BE COMPLETED BY 9 APR 2002
Remember that contacting the other party outside of the site (by email, phone, etc.) on all business projects < $500 (before the buyer's money is escrowed) is a violation of both the software buyer and seller agreements.
We monitor all site activity for such violations and can instantly expel transgressers on the spot, so we thank you in advance for your cooperation.
If you notice a violation please help out the site and report it. Thanks for your help.
|
|
Bidding/Comments:
|
All monetary amounts on the site are in United States dollars.
Rent a Coder is a closed auction, so coders can only see their own bids and comments. Buyers can view every posting made on their bid requests. |
See all rejected bids (and all comments)
Name |
Bid Amount |
Date |
Coder Rating |
|
|
This bid was accepted by the buyer!
|
$20 (USD)
|
Apr 4, 2002 4:03:01 AM EDT
|
7.73
(Very Good)
|
|
|
Hi there,
we can do this project for you before the 9th.
We have been working on C projects for past 10 years.
Looking forward to work on your project.
Thanks, Designers |
|
Attached File
|
|
|
|
|