Find Jobs
Hire Freelancers

Differentiate between high-level and low-level i/o routines

$15-20 USD

Completed
Posted about 22 years ago

$15-20 USD

Paid on delivery
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 [login to view URL] First verson of the program (name the source [login to view URL]) should use the standard high-level I/O library 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 ## Deadline information MUST BE COMPLETED BY 9 APR 2002
Project ID: 2845000

About the project

11 proposals
Remote project
Active 22 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
See private message.
$17 USD in 14 days
4.3 (24 reviews)
4.3
4.3
11 freelancers are bidding on average $14 USD for this job
User Avatar
See private message.
$15.30 USD in 14 days
4.9 (140 reviews)
5.8
5.8
User Avatar
See private message.
$12.75 USD in 14 days
4.4 (72 reviews)
5.5
5.5
User Avatar
See private message.
$17 USD in 14 days
4.9 (18 reviews)
3.9
3.9
User Avatar
See private message.
$14.45 USD in 14 days
5.0 (33 reviews)
4.0
4.0
User Avatar
See private message.
$12.75 USD in 14 days
5.0 (2 reviews)
2.9
2.9
User Avatar
See private message.
$14.45 USD in 14 days
4.7 (32 reviews)
3.3
3.3
User Avatar
See private message.
$13.60 USD in 14 days
0.0 (0 reviews)
0.0
0.0
User Avatar
See private message.
$8.50 USD in 14 days
0.0 (0 reviews)
0.0
0.0
User Avatar
See private message.
$15.30 USD in 14 days
0.0 (0 reviews)
0.0
0.0
User Avatar
See private message.
$12.75 USD in 14 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
United States
5.0
6
Member since Oct 8, 2003

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.