摘要: 本文来自CSDN博客:http://blog.csdn.net/wujian53/archive/2006/05/03/706975.aspx前些天,编程序是用到了很久以前写的C程序,想把里面的函数利用起来,连接发现出现了找不到具体函数的错误:以下是假设旧的C程序库C的头文件/*-----------c.h--------------*/#ifndef _C_H_#define _C_H_extern int add(int x, int y);#endifC的源文件/*-----------c.c--------------*/int add(int x, int y){return x+y 阅读全文
posted @ 2011-02-28 17:11 Socrates 阅读(172) 评论(0) 推荐(0)