摘要: #include <iostream> #include <string> using namespace std; // input yyyy mm, output calendar: // September 2020 // // Mon Tue Wed Thu Fri Sat Sun // 1 阅读全文
posted @ 2020-10-06 09:03 willison 阅读(202) 评论(0) 推荐(0)
摘要: 字符与字符串 大小写转换 void lower_or_upper_case(char c) { int transferred_c; if ( ('a'<=c) && (c<='z') ) { transferred_c = (int)c - ( (int)'b' - (int)'B' ); cou 阅读全文
posted @ 2020-10-06 08:52 willison 阅读(289) 评论(0) 推荐(0)