This preview shows page 1. Sign up to view the full content.
Unformatted text preview: // lexicographically. int my_strcmp(const char* s1, const char* s2); // Pre-condition: s1 and s2 are null terminated strings. // Post-condition: copies the contents of s2 into s1 // and terminates the contents with a null // character. int my_strcpy(char* s1, const char* s2); The scaffold code is attached off a separate link for this quiz program. If you run it without changing my_strcmp and my_strcpy, the program will simply print out the list of names in the original order in which they were in the input file....
View Full Document
This note was uploaded on 06/09/2011 for the course COP 3223 taught by Professor Guha during the Spring '08 term at University of Central Florida.
- Spring '08