![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C语言
扶我起来,我还能学!
这个作者很懒,什么都没留下…
展开
-
通过栈来实现数学表达式的计算
/*****************************************************copyright (C), 2014-2015, Lighting Studio. Co., Ltd. File name:Author:Jerey_Jobs Version:0.1 Date: Description:Funcion List:将数学算术表...原创 2019-03-04 23:12:40 · 564 阅读 · 0 评论 -
链表排序(先插入,后排序(排序是调换结点的位置,不是换结点内的值))
#include <stdio.h>#include <stdlib.h> //调用malloc函数,返回值为void#include <time.h> struct node // 创建链表节点{ int num; ...原创 2019-02-27 13:13:13 · 269 阅读 · 0 评论 -
带表头节点的循环双向链表基本操作
#include &lt;stdio.h&gt;#include &lt;stdlib.h&gt; struct node{ int num; struct node * next; struct node * prior;}; typedef struct node Node;typedef Node * Link; //函数功能:释放链表void...原创 2019-02-27 12:27:54 · 275 阅读 · 0 评论 -
双向链表的基本操作
#include &lt;stdio.h&gt;#include &lt;stdlib.h&gt; struct node{ int num; struct node * next;}; typedef struct node Node;typedef Node * Link; //释放节点void Release(Link * head){ Li...原创 2019-02-27 11:52:39 · 111 阅读 · 0 评论 -
带表头节点的链表的基本操作
#include &amp;amp;lt;stdio.h&amp;amp;gt;#include &amp;amp;lt;stdlib.h&amp;amp;gt;struct node{int num;struct node * next;};typedef struct node Node;typedef Node * Link;//函数功能:释放节点void Release(Link * head){Link p;原创 2019-02-27 11:46:24 · 232 阅读 · 0 评论 -
特殊的数字三角形、最大公约数、最小公倍数
题目:输出如下图的数值三角形代码如下:光看代码不够,需要将数组列一些出来进行配合---------------------------------------最大公约数以及最小公倍数最大公约数:最小公倍数:有关于最大公约数和最小公倍数的相关内容(我想推荐的):https://blog.csdn.net/qq_39627843/article/...原创 2019-01-24 22:32:50 · 131 阅读 · 0 评论 -
手链样式
这一到题目,说简单也简单,就是排列组合的问题,说不简单也不简单,里面需要考虑的东西实在太多,而且很烧脑,一不小心就会出错原创 2019-04-10 17:54:51 · 1457 阅读 · 1 评论 -
网络编程(一)
一.基于TCP的服务器和客户端之间的通信 1.服务器端#include <stdio.h>#include <errno.h>#include <sys/types.h>#include <sys/socket.h>#include <string.h>#include <arpa/inet.h>...原创 2019-04-13 23:34:20 · 158 阅读 · 2 评论