会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
XiaoFei Wang
2014年6月20日
链表逆序输出
摘要: #include #include #include using namespace std;struct ListNode{ int m_value; ListNode *m_pNext;};void PrintList(ListNode *pHead);int main(){ ...
阅读全文
posted @ 2014-06-20 21:53 XiaoFei Wang
阅读(130)
评论(0)
推荐(0)
替代空格
摘要: #include #include #include using namespace std;void replaceBlank(char str[],int length);int main(){ char ch[20]; gets(ch); int len=strlen(ch)...
阅读全文
posted @ 2014-06-20 20:49 XiaoFei Wang
阅读(141)
评论(0)
推荐(0)
查找字符
摘要: #include #include using namespace std;bool findnum(int *numbers,int cols,int rows,int number);int main(){ int n=5; int a[5][5]; for(int i=0;i...
阅读全文
posted @ 2014-06-20 19:39 XiaoFei Wang
阅读(108)
评论(0)
推荐(0)
扑克排序
摘要: #include #include using namespace std;int IsPairFive(int *number,int length){ if(number==NULL||length1&&number[i]>0)return 0; } int k=1; w...
阅读全文
posted @ 2014-06-20 19:02 XiaoFei Wang
阅读(186)
评论(0)
推荐(0)
导航
博客园
首页
新随笔
联系
订阅
管理
公告