![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C语言
文章平均质量分 69
花石头
低调幼稚
展开
-
我最爱的链表实现方法
/* meng shi list. mengshi19860812@163.com */#include #include #include #include #define OFFSET sizeof (struct node) - sizeof (void *)#define FIND_NODE(node) *((char *)node + OFFSET)#def原创 2013-07-18 16:08:39 · 409 阅读 · 0 评论 -
pcap简单抓包程序框架
/* meng shi pcap use mengshi19860812@163.com */#include #include #include #include "pcap.h"void pkt_callback (u_char *arg, const struct pcap_pkthdr *pkt_hd, const u_char *pkt_content);原创 2013-07-18 16:32:55 · 845 阅读 · 0 评论 -
几种反转字符串函数,你更喜欢那一种?
/* 2013 7.21 23:55 */#include #include #include void reverse (char *s);void re_reverse (int i, char *s, int len);void q_reverse (char *s);void q_re_reverse (char *s, char *t);intmain (v原创 2013-07-22 00:29:23 · 458 阅读 · 0 评论 -
敢想敢做,执着追求才能超越极致!------ 我的mslist之mslist_dome.c
/* mslist_dome.h -- How to use? dome file. Copyright (C) 2013 meng shi. mslist is a control node list, which is based on the offset to achieve, and it is not related to a node type.原创 2013-07-23 15:15:24 · 528 阅读 · 0 评论