摘要: ---------- GETPI.Cdouble getPI(void){ return 3.14159265358979324;}---------- MYLIB.H#ifndef _MYLIB_H_#define _MYLIB_H_void say(const char *str);double getPI(void);#endif //_MYLIB_H_---------- RUN.BAT@prompt me#$srem 生成静态库 mylib.agcc -o say.o -c say.cgcc -o getPI.o -c getPI.car rs mylib.a say.o ge... 阅读全文
posted @ 2012-08-17 01:27 庄庄庄 阅读(624) 评论(0) 推荐(0) 编辑