當前位置:首頁 » 編程語言 » c語言大小寫轉換函數

c語言大小寫轉換函數

發布時間: 2023-08-11 23:13:35

A. C語言大小寫字母轉換

在C語言中轉換大小寫字母,可用ctype.h頭文件中聲明的函數toupper和tolower。
toupper:
int toupper(int c);
若c為小寫字母,則將其轉換為大寫字母;否則,不轉換,直接返回c。
tolower:
int tolower(int c);
若c為大寫字母,則將其轉換為小寫字母;否則,不轉換,直接返回c。

熱點內容
androidxml字元 發布:2025-08-24 20:47:31 瀏覽:50
php頁面跳轉參數 發布:2025-08-24 20:46:25 瀏覽:825
java的常用設計模式 發布:2025-08-24 20:36:52 瀏覽:307
如何監聽ftp伺服器文件變化 發布:2025-08-24 20:32:45 瀏覽:648
哪裡下載暗黑破壞神2安卓版 發布:2025-08-24 20:01:28 瀏覽:661
安卓系統適配為什麼很難 發布:2025-08-24 19:59:38 瀏覽:150
國產電腦與雲伺服器 發布:2025-08-24 19:49:08 瀏覽:374
ftp無法訪問文件夾 發布:2025-08-24 19:49:07 瀏覽:260
怎麼搭建ark伺服器 發布:2025-08-24 19:14:00 瀏覽:482
c4d模型網解壓密碼 發布:2025-08-24 19:02:12 瀏覽:969