#C 문자처리1 [C] 문자 처리 함수 출처: http://forum.falinux.com/ 헤어 필요 (#include ) 1. 소문자인지 판별하기 형태 int islower(int c)인수 c 판별할 문자 반환 소문자이면 0 이외의 정수, 소문자가 아니면 0#include #include #include int main() { int ch1 = 'a'; int ch2 = 'A'; int ch3 = '1'; if (islower(ch1)) printf("%c는 소문자입니다.\n", ch1); else printf("%c는 소문자가 아닙니다.\n", ch1); if (islower(ch2)) printf("%c는 소문자입니다.\n", ch2); else printf("%c는 소문자가 아닙니다.\n", ch2); if (islower(ch3)).. 2016. 7. 6. 이전 1 다음