[root@localhost test3]# cat add.h#ifndef _ADD_H_#define _ADD_H_extern int add(int, int);#endif[root@localhost test3]# cat add.c#include "add.h"int add Read More
posted @ 2017-02-27 18:28 findumars Views(710) Comments(0) Diggs(0)
学习GNU/LINUX开发的编程人员,上手之后不久就会在编译开源软件的时候碰到configure脚本,过段时间还会知道configure脚本是 autoconf生成的;但是真正想用起来autoconf,却是要弄明白config.h,configure.in,Makfile.am等一大堆的 文件,这可 Read More
posted @ 2017-02-27 18:26 findumars Views(556) Comments(0) Diggs(0)
介绍 在不同的系统中建立动态链接库的方法有很大的差别,这主要是因为每个系统对动态链接库的看法和实现并不相同,以及编译器对动态链接库支持的选项也不太一样。对于开发人员,如果尝试将使用动态库的软件在这些系统之间移植,需要参考枯涩难懂的系统手册,以及修改相应的 Makefile,这一工作是乏味的,并且具有 Read More
posted @ 2017-02-27 18:25 findumars Views(684) Comments(0) Diggs(0)
C++开源项目入门级:Ptypes Ptypes一个开源轻量级的c++库,包括对一些I/O操作、网络通信、多线程和异常处理的封装。虽然代码有限,包括的内容不少,麻雀虽小,五脏俱全。 提高:STL Boost和STL ACE Boost库是一个可移植、提供源代码的C++库,作为标准库的后备,是C++标 Read More
posted @ 2017-02-27 18:24 findumars Views(1311) Comments(0) Diggs(1)
Boost库是一个经过千锤百炼、可移植、提供源代码的C++库,,作为标准库的后备,是C++标准化进程的发动机之一,在linux安装过程如下:去官方网站下载最新的:http://sourceforge.net/projects/boost/files/boost/1.47.0/ or www.boos Read More
posted @ 2017-02-27 18:22 findumars Views(1501) Comments(0) Diggs(0)