Find Jobs
Hire Freelancers

C Library - <string.h>

$10-30 USD

Cancelled
Posted over 9 years ago

$10-30 USD

Paid on delivery
Write all 22 of the library functions defined by string.h for working with c-strings and memory as documented here [login to view URL] [login to view URL] Write a C program to test your implementations of each of your string/memory functions from string.h. Write at least three test cases per string function. main can call each of the 22 test function (so it may be longer than 5 lines). Write one test function for each string function that has at least three test cases. These test function may also exceed the 5 line limit. For strxfrm, call your strncpy appropriately without doing any local translation. For strcoll, call strcmp appropriately. More specifically, you may ignore LC_COLLATE completely. Declare your own errno variable and an enumeration type for the errors you want. Declare an array of strings indexed by this. strerror() should return the message at errorMessages[errno]; If you prefer, you may detect any error in use of your string functions, print an appropriate error message to stderr immediately instead of using errno and strerror() as done by the string.h functions in the C library. If you opt for the latter, you should have strerror() always return one string "string error: to be done";
Project ID: 7001674

About the project

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

About the client

Flag of UNITED STATES
irvine, United States
5.0
2
Payment method verified
Member since Mar 21, 2014

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.