1. ONLY USE MS VISUAL STUDIO 2013 PROJECT WILL BE ACCEPTABLE.
2. You will implement YOUR OWN VERSIONS to mimic the functionality of some functions available for ‘cstring’, without using any of the cstring functions themselves. So you are creating the functions to mimic the actual functions.
3. The functions to be implemented/duplicated are as follows:
i. stringLength (yours) should duplicate the functionality of strlen (original)
ii. stringNCopy (yours) should mimic strncpy (original)
iii. stringAdd (yours) should duplicate strcat (original)
iv stringCompare (yours) should mimic the functionality of strcmp (original)
4. Include a psuedocode at the beginning and include comments along the code to make everything easily understandable.
THINGS TO REMEMBER -
• You need to duplicate the functionality provided by the original functions.
• DO NOT USE the original functions anywhere in your code.
• Refer to [url removed, login to view] to get function details and prototypes of the original. You may match them exactly or change them if you like.
• YOU HAVE TO USE POINTERS to work with the cstrings. DO NOT USE array/subscript behaviors. Use of arrays inside the functions will result in large deductions.
• Bounds checking is not needed but you may choose to implement it.
• Also, the original functions do not have any input/output interaction with the user - similarly your program should limit all user interaction in the main().
• Your main function should provide the user a menu of options on which function to test and then ask for the appropriate input to test the function and provide the output. One of the menu options should be to continue the test or exit the program.
Upload your entire Visual Studio project as a zipped file including the screen shot of the output. You must include the screen shot of the output.