摘要:
#include <iostream> #include <Windows.h> #include <string> using namespace std; int main(void) { char x; cout << "请输入一个字符:"; cin >> x; //利用ASCII码表中的字符排列规律进行字母的大小写转换 if (x >= 'a' && x <= 'z') { //小写字母 阅读全文
posted @ 2019-08-17 22:19
你爱过大海我爱过你
阅读(5544)
评论(0)
推荐(0)
摘要:
我们在VS2017中如果使用C语言的scanf输入函数,编译的时候编译器会报error C4996: 'scanf': This function or variable may be unsafe. Consider using scanf_s instead. To disable deprec 阅读全文
posted @ 2019-08-17 16:52
你爱过大海我爱过你
阅读(3122)
评论(3)
推荐(0)
浙公网安备 33010602011771号