ChinaUnix.net
相关文章推荐:

linux 函数库在哪

用的是linux Fc2 多谢

by tommer - C/C++ - 2004-11-24 11:51:36 阅读(1922) 回复(2)

相关讨论

我想看看每个函数的功能,怎么实现的。 :lol: :lol: 谢谢

by hantom - Linux新手园地 - 2010-02-01 14:13:15 阅读(1151) 回复(1)

函数库分为静态库和动态库两种。   静态库在程序编译时会被连接到目标代码中,程序运行时将不再需要该静态库。   动态库在程序编译时并不会被连接到目标代码中,而是在程序运行是才被载入,因此在程序运行时还需要动态库存在。   程序1: hello.h   #ifndef HELLO_H   #define HELLO_H   void hello(const char *name);   #endif //HELLO_H   程序2: hello.c   #include   void hello(const char *n...

by net-boy - 服务器及硬件技术 - 2010-11-30 00:56:36 阅读(1268) 回复(0)

函数库分为静态库和动态库两种。   静态库在程序编译时会被连接到目标代码中,程序运行时将不再需要该静态库。   动态库在程序编译时并不会被连接到目标代码中,而是在程序运行是才被载入,因此在程序运行时还需要动态库存在。   程序1: hello.h   #ifndef HELLO_H   #define HELLO_H   void hello(const char *name);   #endif //HELLO_H   程序2: hello.c   #include   void hello(cons...

by cu_Cbear - Linux环境编程 - 2010-11-16 13:54:27 阅读(905) 回复(0)

本帖最后由 xtlx2000 于 2010-05-10 22:40 编辑 写每个程序都有很多重复的代码,想把一些通用的代码弄成linux那种函数库,不需要extern,又能避免名称重复,象#include 一样,里面有函数,引用后直接调用接口,很方便,该怎么弄呢?

by xtlx2000 - C/C++ - 2010-05-11 04:48:22 阅读(1279) 回复(1)

这个函数 #include #include #include int main() { initscr(); move(5,15); printw("%s","hello!"); refresh(); sleep(2); endwin(); exit(EXIT_SUCCESS); } 然后我编译的时候~ gcc -o screen1 screen1.c 会出现下面的报错信息啊: /tmp/ccKzEk1o.o: In function 'main'; screen1.c:(.text+0xa):undefined reference to 'ini...

by gifttang - Linux新手园地 - 2010-02-11 14:28:24 阅读(1618) 回复(2)

Normal 0 7.8 磅 0 2 false false false MicrosoftInternetExplorer4 /* Style Definitions */ table.MsoNormalTable {mso-style-name:普通表格; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-parent:""; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin:0cm; mso-para-mar...

by BillStone - Linux文档专区 - 2009-06-28 20:07:27 阅读(829) 回复(0)

请问哪里可以下载 linux的C标准函数库? Glibc是吗?

by c_fanatic - C/C++ - 2008-05-27 14:34:23 阅读(8345) 回复(7)

我写了个程序,里面包含了系统文件,有iostream,fstream等 但使用g++编译时,为什么提示我没有这个文件,难道linux下不存在这两个库函数?那么我包含stdio.h时,同样提示不存在,不可能不存在这个头文件吧,那会是什么原因呢?请GG们帮忙,谢谢!

by dragonq - C/C++ - 2004-04-01 16:26:15 阅读(1603) 回复(5)

我阅读了《ncurses programs howto》中文版,在编译其中的范例文件时,如果在创建的form中的field中输入中文,系统没有反映,不知这是否时NCURSE库的一个BUG,如果不支持中文,编写的界面程序将毫无意义。哪位大侠可以指点一下?谢谢了

by yangjinyuyjy - C/C++ - 2005-10-08 17:43:40 阅读(1131) 回复(1)
by xdshting - C/C++ - 2009-11-24 19:21:46 阅读(1450) 回复(1)