摘要: 嘿嘿! 我盼望已久的回文函数终于找到了!!! →→ 点击查看代码 bool huiwen(int num) { int a=num; int rnum=0; while(a>0) { rnum=rnum*10+a%10; a=a/10; } return rnum==num; } (其实我是从代码里 阅读全文
posted @ 2022-07-20 13:25 吴明轩 阅读(25) 评论(0) 推荐(0) 编辑
摘要: 我的第一个C程序真是简单无比! 我的第一个C程序是:Hello World! 点击查看代码 #include<bits/stdc++.h> using namespace std; int main() { cout<<"Hello World!"; return 0; } 阅读全文
posted @ 2022-03-27 17:11 吴明轩 阅读(21) 评论(0) 推荐(0) 编辑