Question: Make the following string manipulation functions Requirement. Do not use the original c - str library, such as strcpy , strlen, strcat Do not use

Make the following string manipulation functions
Requirement.
Do not use the original c-str library, such as strcpy,
strlen, strcat
Do not use the string type. The parameter is the character
array.
Your code ought to be implemented to function in the same manner as the
original library functions.
int mycstrlen(char[] mycstr);
Parameters
character array mycstr
Return value
int length: the number of mycstr
Tasks
count all characters in the character array until the ' n ' or '10' character
int mycstrcpy(char[] dest, char[] src);
Parameters
dest: the destination character array to be created from src
src: the source character array
Return value
int length: the number of characters copied (length)
Tasks
Copy all characters in the src array to dest array
int mycstrcat(char[] dest, char[] src);
Parameters
dest: the destination character array to be appended from src
src: the source character array
Return value
int length: the number of characters after concatenation (length)
Tasks
concatenate the src array to the dest array.
void printRecord(char people [][N][L];
Parameters
people: 3 dimensional character array
Return value
None
Tasks
Print all records for each people
void printEmail(char people[][N][L]);
Parameters
people: 3 dimensional character array
Return value
None
Tasks
Print all email list
int getNumMale(char people[][N][L]);
Parameters
people: 3 dimensional character array
Return value
int: the number of male persons
Tasks
Check the field value people[i][5] whether "Male" is or not
C++ only.
Image 1 is the question to the program so please read the instructions carefully (c++ only).
Image 2 is the code template that you will use.
Image 5 is the main.cpp, there is no need to edit this but in case you need it.
Image 3 is the database that the program is supposed to access. It has 100 lines but I couldn't fit the rest in the image.
Image 4 are the tests for the program.
Please do not create an entirely new code, use the code provided in the 2nd image to create the code so that it passes all tests in image 4 and do what is asked and I'll upvote your answer.
Make the following string manipulation functions

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!