Using cStrings and Pointers

I am in a C++ class at a university and my teacher has failed to provide the class with the necessary tools to complete any labs. I have been assigned a exercise to write a program that requires the following:

---> Write a program that includes a user-defined function that emulates the predefined "srtcmp" function. Within the body of your compare function, use only pointer notation to manipulate the cString. Make sure to introduce into your program the code necessary to appropriately test your function. Exercise all possible control paths within your function, and clearly print out both strings and the result of each of your comparisons.
<----

I really don't even know where to start with this. Any helpful advice on what this means and how to approach it would be great!

Thanks,
AviatorBlue62
Topic archived. No new replies allowed.