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

잔글 (봇: 자동으로 텍스트 교체 (-</source> +</syntaxhighlight>, -<source +<syntaxhighlight ))
 
1번째 줄: 1번째 줄:
==개요==
==개요==
;C++ isupper()
;C++ isupper()
<source lang='cpp'>
<syntaxhighlight lang='cpp'>
#include <iostream>
#include <iostream>
#include <ctype.h>
#include <ctype.h>
16번째 줄: 16번째 줄:
     cout << isupper('Z') << endl;
     cout << isupper('Z') << endl;
}
}
</source>
</syntaxhighlight>


==같이 보기==
==같이 보기==

2020년 11월 2일 (월) 02:47 기준 최신판

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 }}