miao-xixixi

1.头文件

#include<cctype>

2.函数原型

int toupper(int c);

3.用法

#include<cstdio> 
#include<cctype>
#include<iostream>
using namespace std;
int main(){
    char a;
    cin>>a;
    cout<<char(toupper(a))<<endl;
    return 0;
}

 

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2021-12-27
  • 2022-12-23
  • 2021-12-06
  • 2021-08-23
  • 2022-01-07
  • 2021-09-06
猜你喜欢
  • 2021-10-15
  • 2022-02-15
  • 2021-08-07
  • 2021-08-02
  • 2022-12-23
  • 2022-01-15
  • 2022-01-01
相关资源
相似解决方案