「独習C」から印象的だったものを。 #include <stdio.h> #include <ctype.h> void string_up(char *p); int main(void) { char str[] = "This is a test."; string_up(str); printf(str); return 0; } void string_up(char *p) { while (*p) { *p = toupper(*p); p++; } } こ</ctype.h></stdio.h>…
引用をストックしました
引用するにはまずログインしてください
引用をストックできませんでした。再度お試しください
限定公開記事のため引用できません。