
C语言
文章平均质量分 76
进击的诺基亚
有过多次项目开发经验,并且担任项目负责人,能够灵活的将学到的知识应用在工程化的开发中,能够熟练的使用git进行项目的管理,有很好的编程习惯和团队合作意识。
展开
-
一个可直接用的赫夫曼源代码
#include#include#include#define MAX_NUM 100typedef char ElemType; typedef struct HTNode{ ElemType elem; int m_weight; int parent,lchild,rchild; }HTNode,*HuffmanTree; typedef char** HuffmanCode; typede原创 2014-04-25 18:37:49 · 626 阅读 · 0 评论 -
一个人可用的链表操作
#include#include#include/*定义一个存储学生信息的结构,也就是节点(节点就是结构)*/struct node{ char name[10]; int age; struct node *next;};/*对main函数中需要调用的方法函数进行声明*/struct node *creat(int n);void delet(struct node原创 2014-04-25 18:41:26 · 632 阅读 · 0 评论 -
c语言写的恶搞小程序
#include#include int main(){ FILE *fp; int password=0,temp=0,initial=111111,i=0; char cmd; char buf[MAX_PATH]; system("title 咦咦咦咦咦咦咦咦~~~~"); system("mode con cols=60 lines=35"); system("原创 2014-06-10 15:24:49 · 8566 阅读 · 1 评论 -
c语言快速排序与二分查找算法
#includeint r[20];int Quick_Partition(int r[],int a,int b);int Binary_serch(int r[],int key,int n); void Quick_Sort(int r[],int s,int t);int main(void){ int i=0,j=0,bi,ans; printf("请输入待排序数据:原创 2014-06-19 21:01:52 · 1350 阅读 · 0 评论 -
克鲁斯卡尔算法生成最小生成树
#include#include #define MAXD 20#define MAXEDG 40typedef struct{ int pre; int bak; int weight;}edg;void kruscal(edg bian[],int dnum,int edgnum);void sort(edg bain[],int edgnum);int find(i原创 2014-06-20 16:39:42 · 776 阅读 · 0 评论 -
离线抓取开心网和墨迹天气数据(pcap包,linux平台)
#include #include #include #include #include #include //链路层数据包typedef struct { u_char DestMac[6]; u_char SrcMac[6]; u_char Etype[2];}ETHHEADER;//IPtypedef struct { int heade原创 2014-08-25 01:48:58 · 1054 阅读 · 0 评论 -
linux下网络抓包分析(墨迹天气,QQ,微信,开心网)
#include #include #include #include #include #include #include #include typedef struct { u_char DestMac[6]; u_char SrcMac[6]; u_char Etype[2];}ETHHEADER;typedef struct { in原创 2014-09-13 20:22:46 · 1654 阅读 · 0 评论