C Tutorial/ctype.h/toupper — различия между версиями
Admin (обсуждение | вклад) м (1 версия: Импорт контента...) |
Admin (обсуждение | вклад) м (1 версия: Импорт контента...) |
(нет различий)
|
Текущая версия на 13:32, 25 мая 2010
toupper
Item Value Header file ctype.h Declaration int toupper(int ch); Function returns the uppercase equivalent of ch if ch is a letter or ch is returned unchanged.
<source lang="cpp">#include <ctype.h>
- include <stdio.h>
int main(void){
putchar(toupper("a"));
}</source>