C Tutorial/ctype.h/toupper — различия между версиями

Материал из C\C++ эксперт
Перейти к: навигация, поиск
м (1 версия: Импорт контента...)
 
м (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>

  1. include <stdio.h>

int main(void){

 putchar(toupper("a"));

}</source>