c language urgent

Bonus Assignment: String Processor â?? worth up to 2% of your final grade Due: Friday, April 27, 2018 by midnight; send as attachment I. Learner Objectives: At the conclusion of this programming assignment, participants should be able to:Declare and define pointers to stringsManipulate stringsII. Prerequisites:Before starting this programming assignment, participants should be able to:Apply and implement pointers in CPass output parameters to functionsAnalyze a basic set of requirements and apply top-down design principles for a problemApply repetition structures within an algorithmConstruct while (), for (), or do-while () loops in CCompose C programs consisting of sequential, conditional, and iterative statementsEliminate redundancy within a program by applying loops and functionsCreate structure charts for a given problemOpen and close filesRead, write to, and update filesManipulate file handlesApply standard library functions: fopen (), fclose (), fscanf (), and fprintf ()Apply and implement pointers 2-dimenional arraysDefine and apply structs in CCompose decision statements (“if” conditional statements)Create and utilize compound conditionsSummarize topics from Hanly & Koffman Chapter 8 including: What is an array? Distinguishing between single dimensional and 2-dimentional arrays What is an index?III. Overview & Requirements:Write a program that performs string processing on all strings. NOTE: You may NOT use the standard library functions found in . Also, you must use only pointer notation and pointer arithmetic, where appropriate! You may NOT use array notation! Your program should define the following functions:(6 pts) char *my_fgets (char *s, int n, FILE *stream) â?? Reads at most one less than the number of characters specified by n, into the array pointed to by s, from the input pointed to by stream. No more characters are read after a newline is encountered or end of file is encountered. The newline if encountered is stored by the array pointed to by s. A null character is appended to the end of string s. If the function is successful in reading characters into s, then s is returned; otherwise a NULL pointer is returned.(6 pts) int my_fputs (const char *s, FILE *stream) – Writes s to the output specified by stream. If the function is successful, then it returns the number of characters written to the output; otherwise it returns MY_EOF (i.e. for cases where stream does not point any where yet). Make sure you #define MY_EOF as -1.(6 pts) int my_fgetc (FILE *stream) – Reads the next character from the input pointed to by stream. If the input is at the end of file or a processing error occurs return MY_EOF; otherwise return the integer representation of the character read.(6 pts) int my_fputc (int c, FILE *stream) – Writes the character c (converted to a character) to the output specified by stream. If the write is successful the ascii value of the character is returned; otherwise MY_EOF is returned.(6 pts) char *my_gets (char *s) – Reads characters from stdin into the array pointed to by s until a newline is encountered. The newline character is NOT kept at the end of the array pointed to by s. A null character is written to the end of string s. The function returns s.(6 pts) int my_puts (const char *s) – Writes the string pointed to by s to stdout. The function appends a newline to the output. The function returns the number of characters written to the output.(6 pts) int my_getchar (void) – Returns the ascii value of the next character read from stdin.(6 pts) int my_putchar (int c) – The function writes character c to stdout. The character c is returned.(6 pts) char *my_strcpy (char *destination, const char *source) – Copies all characters in the array pointed to by source into the array pointed to by destination. The null character is also copied. The function returns destination.(6 pts) char *my_strncpy (char *destination, const char *source, int n) – Copies no more than n characters from the string pointed to by source into the array pointed to by destination. The function does not copy any characters past a null character. If the string pointed to by source is less than n characters, null characters are appended to the end of the array pointed to by destination until n characters have been written.(6 pts) char *my_strcat (char *destination, const char *source) – This function appends a copy of the string pointed to by source (including the null character) to the end of the string pointed to by destination. The append overwrites the null character at the end of destination. The string pointed to by destinationis returned.(6 pts) char *my_strncat (char *destination, const char *source, int n) – This function appends no more than n characters from the string pointed to by source to the end of the array pointed to by destination. The null character is appended to the end of the result. The destination pointer is returned.(6 pts) int my_strcmp (const char *s1, const char *s2) – This function compares the string pointed to by s1 to the string pointed to by s2. If the string pointed to by s1 comes before the string pointed to by s2 in dictionary ordering, then -1 is returned. If the string pointed to by s1 is the same as the string pointed to by s2, then 0 is returned (the compare function is case sensitive). Otherwise 1 is returned.(6 pts) int my_strncmp (const char *s1, const char *s2, int n) – This function compares no more than n characters (characters following a null character are not compared) from the string pointed to by s1 to the string pointed to by s2. If the string pointed to by s1 comes before the string pointed to by s2 in dictionary ordering, then -1 is returned. If the string pointed to by s1 is the same as the string pointed to by s2, then 0 is returned (the compare function is case sensitive). Otherwise 1 is returned.(6 pts) int my_strlen (const char *s) – This function returns the length of the string pointed to by s. The computation of length does NOT include the null character.(10 pts) A main function that tests each of the above implemented functions. You decide how to test your program, making sure to develop good test cases. You will be graded in part on the quality of your test cases, that is, the extent to which they cover the possible range of inputs.IV. Submitting Assignments: Please send your solution as an .zip attachment Your project must contain one header file (a .h file), two C source files (which must be .c files), and project workspace. Be sure to delete both debug folders before you send your solution via email.Your project must build properly. The most points an assignment can receive if it does not build properly is 65 out of 100. V. Grading Guidelines:This assignment is worth 100 points or 2% of your final grade. Your assignment will be evaluated based on a successful compilation and adherence to the program requirements. We will grade according to the following criteria:1. (90 pts) for adherence to the above requirements (please see the individual point totals above)2. (10 pts) for “good” style and design (i.e. proper function declarations, definitions, and comments)

Don't use plagiarized sources. Get Your Custom Essay on
c language urgent
Just from $13/Page
Order Essay
GradeAcers
Calculate your paper price
Pages (550 words)
Approximate price: -

Why Work with Us

Top Quality and Well-Researched Papers

We always make sure that writers follow all your instructions precisely. You can choose your academic level: high school, college/university or professional, and we will assign a writer who has a respective degree.

Professional and Experienced Academic Writers

We have a team of professional writers with experience in academic and business writing. Many are native speakers and able to perform any task for which you need help.

Free Unlimited Revisions

If you think we missed something, send your order for a free revision. You have 10 days to submit the order for review after you have received the final document. You can do this yourself after logging into your personal account or by contacting our support.

Prompt Delivery and 100% Money-Back-Guarantee

All papers are always delivered on time. In case we need more time to master your paper, we may contact you regarding the deadline extension. In case you cannot provide us with more time, a 100% refund is guaranteed.

Original & Confidential

We use several writing tools checks to ensure that all documents you receive are free from plagiarism. Our editors carefully review all quotations in the text. We also promise maximum confidentiality in all of our services.

24/7 Customer Support

Our support agents are available 24 hours a day 7 days a week and committed to providing you with the best customer experience. Get in touch whenever you need any assistance.

Try it now!

Calculate the price of your order

Total price:
$0.00

How it works?

Follow these simple steps to get your paper done

Place your order

Fill in the order form and provide all details of your assignment.

Proceed with the payment

Choose the payment system that suits you most.

Receive the final file

Once your paper is ready, we will email it to you.

Our Services

No need to work on your paper at night. Sleep tight, we will cover your back. We offer all kinds of writing services.

Essays

Essay Writing Service

No matter what kind of academic paper you need and how urgent you need it, you are welcome to choose your academic level and the type of your paper at an affordable price. We take care of all your paper needs and give a 24/7 customer care support system.

Admissions

Admission Essays & Business Writing Help

An admission essay is an essay or other written statement by a candidate, often a potential student enrolling in a college, university, or graduate school. You can be rest assurred that through our service we will write the best admission essay for you.

Reviews

Editing Support

Our academic writers and editors make the necessary changes to your paper so that it is polished. We also format your document by correctly quoting the sources and creating reference lists in the formats APA, Harvard, MLA, Chicago / Turabian.

Reviews

Revision Support

If you think your paper could be improved, you can request a review. In this case, your paper will be checked by the writer or assigned to an editor. You can use this option as many times as you see fit. This is free because we want you to be completely satisfied with the service offered.

Order your essay today and save 15% with the discount code DISCOUNT15