
c面向对象
shao326
未婚
展开
-
udp通信(C 语言)
下面给出udp通信的代码,服务器端和客户端都已经封装好,只要参考main函数中的方法使用即可。 效果图: 服务器端: 客户端: 服务器端: udp_server.h /******************************************************************** ** 文件名:udp_server.h ** 创建人:ss ** ...2010-11-16 11:52:54 · 428 阅读 · 0 评论 -
c 连接Mysql数据库
MysqlConnect.h /******************************************************************** ** 文件名:MysqlConnect.h ** 创建人:ss ** 完成日期:2010-12-08 *****************************************************...原创 2010-12-08 21:42:32 · 113 阅读 · 0 评论 -
线程池 -- 链表
(1)constant.h文件 用来存放全局的宏定义和方法 #ifndef CONSTANT_H #define CONSTANT_H #include <malloc.h> #include <sys/types.h> #include <stdlib.h> #include <stddef.h> #include <...原创 2012-02-21 19:13:55 · 234 阅读 · 0 评论 -
c语言计时器
(1)my_time.h #ifndef MY_TIME_H_ #define MY_TIME_H_ typedef struct time_manager_t time_manager_t; struct time_manager_t { void (*set_clock)(time_manager_t *this); void (*ca...原创 2012-03-12 12:49:53 · 850 阅读 · 0 评论