Потому что так положено.
(«Телесистемы»: Конференция «Микроконтроллеры и их применение»)

миниатюрный аудио-видеорекордер mAVR

Отправлено Yuriy 10 декабря 2004 г. 18:50
В ответ на: IAR MSP С: А почему функции tolower/toupper возвращают и преобразуют int и нужно ли указывать преобразование типов из/в char? отправлено Vladimir Ljaschko 10 декабря 2004 г. 18:32

7.4.2.1 The tolower function
Synopsis
1 #include
int tolower(int c);

Description
2 The tolower function converts an uppercase letter to a corresponding lowercase letter.

Returns
3 If the argument is a character for which isupper is true and there are one or more corresponding characters, as specified by the current locale, for which islower is true, the tolower function returns one of the corresponding characters (always the same one for any giv en locale); otherwise, the argument is returned unchanged.

Составить ответ  |||  Конференция  |||  Архив

Ответы



Перейти к списку ответов  |||  Конференция  |||  Архив  |||  Главная страница  |||  Содержание  |||  Без кадра

E-mail: info@telesys.ru