![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
面试
guo00110211
这个作者很懒,什么都没留下…
展开
-
循环链表---约瑟夫环
#include using namespace std;typedef struct student{ int data; struct student* next;}node,*LinkList;//约瑟夫环void printfList(LinkList head){ LinkList p=head; if (head!=NULL)//忘了这个 { do{原创 2014-08-27 21:32:01 · 461 阅读 · 0 评论 -
字符串常见编程题
#include #include using namespace std;bool isOK=false;int StringToInt(const char *s){bool neg=false;const char *p=s;int num=0;if (s[0]==NULL){return 0;}if (s[0]=='-')原创 2014-08-27 16:26:32 · 857 阅读 · 0 评论 -
自己写的一个入栈程序
#include using namespace std;typedef struct student{ int data; struct student* next;}node;typedef struct stackqueue{ node *di,*top;}queue;queue *pushQ(queue *q,int data){ node *n=(node原创 2014-08-27 22:26:42 · 739 阅读 · 0 评论