当前位置:网站首页>反应c语言程序结构特点的程序
反应c语言程序结构特点的程序
2022-06-25 10:57:00 【用户9854323】
1、反应c语言程序结构特点的程序
#include <stdio.h> //#include 用来包含系统头文件----含有c库函数
void putupper(char ch); //自定义函数的声明
#define SIZE 80 //定义宏,表示常量
void main()
{
char str[SIZE];
int i;
gets(str);
for (i=0;str[i]!='\0';i++)
{
putupper(str[i]);
printf("\n");
}
}
void putupper(char ch){
char cc;
cc=(ch>='a' && ch<='z')? ch+'A'-'a':ch;
putchar(cc);
}边栏推荐
- Application of global route guard
- Cdn+cos ultra detailed steps for drawing bed construction
- CDN+COS搭建图床超详细步骤
- 金仓KFS数据级联场景部署
- Nuxtjs actual combat case
- Upload and modify the use of avatars
- Google Earth Engine(GEE)——evaluate实现一键批量下载研究区内的所有单张影像(上海市部分区域)
- Software testing to avoid being dismissed during the probation period
- Google Earth Engine (Gee) - evaluate réalise le téléchargement en un clic de toutes les images individuelles dans la zone d'étude (certaines parties de Shanghai)
- Daily 3 questions (3) - check whether integers and their multiples exist
猜你喜欢

1-7Vmware中的快照与克隆

Technical practice and development trend of video conference all in one machine

Socket communication principle

Open source invites you to participate in the openssf Open Source Security Online Seminar

Previous string inversion topic

Apache ShenYu 入門

Android之Kotlin语法详解与使用

Sign up to open the third session of the "flying oar hacker marathon". It's been a long time

【文件包含漏洞-04】经典面试题:已知某网站仅存在本地文件包含漏洞时,如何GetShell?

今天16:00 | 中科院计算所研究员孙晓明老师带大家走进量子的世界
随机推荐
Tidb applicable scenarios
Getting started with Apache Shenyu
Is it safe to speculate in stocks by mobile phone?
Handling of NPM I installation problems
一个五年北漂的技术er,根据这些年的真实经历,给应届生的一些建议
Apache ShenYu 入门
Coscon'22 lecturer solicitation order
scrapy+scrapyd+gerapy 爬虫调度框架
Garbage collection mechanism
keep-alive
有关计网的五种类型题
A difficult mathematical problem baffles two mathematicians
Dell technology performs the "fast" formula and plays ci/cd
某APP中模拟器检测分析
QT: parsing JSON
网易开源的分布式存储系统 Curve 正式成为 CNCF 沙箱项目
金仓数据库 KingbaseES 插件dbms_session
Jincang KFS data centralized scenario (many to one) deployment
无心剑中译伊玛·拉扎罗斯《新巨人·自由女神》
Cdn+cos ultra detailed steps for drawing bed construction