清华大佬耗费三个月吐血整理的几百G的资源,免费分享!....>>>
#include <stdio.h> #include <ctype.h> char *string_uppercase(char *string) { char *starting_address; starting_address = string; while (*string) toupper(*string++); return(starting_address); } int main(void) { char *title = "Jamsa's 1001 C/C++ Tips"; char *string; string = string_uppercase(title); printf("%s\n", string); printf("%s\n", string_uppercase("Arrays and Pointers")); return 1; }