chkconst.c
来自「《C/C++程序员实用大全》配套代码,适用初学C++的人员。」· C语言 代码 · 共 19 行
C
19 行
#include <stdio.h>
void no_change(const char *string)
{
while (*string)
*string++ = toupper(*string);
}
void main(void)
{
char title[] = "Jamsa\'s C/C++ Programmer\'s Bible";
no_change(title);
printf(title);
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?