"C++ isupper()"의 두 판 사이의 차이

20번째 줄: 20번째 줄:
==같이 보기==
==같이 보기==
* [[C++ islower()]]
* [[C++ islower()]]
* [[C++ isalpha()]]
* [[C++ toupper()]]
* [[C++ tolower()]]
* [[함수 isupper()]]
* [[함수 isupper()]]



2019년 3월 17일 (일) 20:45 판

1 개요

C++ isupper()
#include <iostream>
#include <ctype.h>
using namespace std;
int main ()
{
    // 0
    cout << isupper('0') << endl;
    cout << isupper('a') << endl;
    cout << isupper('b') << endl;

    // 256
    cout << isupper('A') << endl;
    cout << isupper('Z') << endl;
}

2 같이 보기

3 참고

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}