-
C语言局域网简易群聊系统
应用背景
linux环境下用C编写的一个简易群聊系统,可以看看。用到了ncurses库克litesql。
关键技术1.安装
ubuntu11.10下默认没有安装curses函数库,(CentOS下默认已经安装,可以直接在usr/include下查看是否有该头文件来确定)使用
>sudo apt-get install ncurses-dev ncurses*
安装curses库,这样在curses函数库的头文件和库文件就被分别安装在/usr/include/和/usr/lib/下,在编译程序时,直接使用命令:
gcc program.c -o program -lcurses
完成编译,运行。
2.sql 函数库的头文件和库文件就被分别安装在/usr/include/和/usr/lib/下,makefile已写好。
- 2022-02-21 17:56:29下载
- 积分:1
-
基于mini2440的电子相册代码
基于mini2440的电子相册,TD35液晶屏,256M内存,可以通过mini2440上的六个按键翻阅查看图片
- 2023-06-09 19:20:03下载
- 积分:1
-
spi硬件程序。实现sPI总线的传输,并且实现的功能齐全
spi硬件程序。实现sPI总线的传输,并且实现的功能齐全
- 2023-01-24 05:05:04下载
- 积分:1
-
qt thread used to practice the use of the example
qt 用来练习使用线程的例子-qt thread used to practice the use of the example
- 2022-03-30 03:52:54下载
- 积分:1
-
linux设备驱动程序简单示例
以一个hello word程序为例,展示最简单的linux设备驱动程序。hello.c#include #include MODULE_LICENSE("Dual BSD/GPL");static int hello_init(void){ printk(KERN_ERR "hello world!
"); return 0;}static void hello_exit(void){ printk(KERN_ERR "goodbye cruel world
");}module_init(hello_init);module_exit(hello_exit);hello.h:无makefile:ifneq ($(KERNELRELEASE),)obj-m := hello.oelseKERNELDIR ?= /root/rpmbuild/BUILD/kernel-3.10.0-693.21.1.el7/linux-3.10.0-693.21.1.el7.x86_64PWD := $(shell pwd)default:$(MAKE) -C $(KERNELDIR) M=$(PWD) modulesendif
- 2023-02-16 03:10:03下载
- 积分:1
-
socket编程的一个例子,包括服务器端和客户端的实现,可供大家参考。...
socket编程的一个例子,包括服务器端和客户端的实现,可供大家参考。-An example of socket programming, including server-side and client realize, for your reference.
- 2022-02-07 16:01:15下载
- 积分:1
-
PSNR计算器
P{margin bottom:0.08in;direction:ltr;color:rgb(0,0,10);line height:106%;widows:2;obserns:2;}P.western{font-family:“Calibri”,serif;font-size:11pt;}P.cjk{font-family:“DejaVu-Sans”;font-size:11pt;}P.ctl{font-family:“Calibri”;font-size:11pt;}
- 2022-03-19 05:24:38下载
- 积分:1
-
this is the s3c2410 uda1341 driver
这个是在s3c2410上的uda1341的驱动程序-this is the s3c2410 uda1341 driver
- 2022-08-23 05:40:16下载
- 积分:1
-
DL645-2007协议调试器
说明: 支持DL-T2007协议的多功能电能表调试(Debugging of Multifunctional Watt-hour Meter Supporting DL-T2007 Protocol)
- 2020-06-21 06:40:02下载
- 积分:1
-
最新 linux U
最新 linux U-boot 1. 3. 1-U-boot1.3.1 for linux
- 2022-09-12 03:00:03下载
- 积分:1