![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Unix编程
antk119
这个作者很懒,什么都没留下…
展开
-
ftp客户端库(C编写,平台Linux,Win)
ftp库,用c编写,作者是Thomas Pfau附有详细的API(html)和说明(README.ftplib_v3.1),在windows和linux环境中都可以使用,还附了ftp协议的RFC 959文档下载页面:http://nbpfaus.net/~pfau/ftplib/ ftplibftplib is a set of routines that implemen原创 2006-11-08 20:39:00 · 4161 阅读 · 0 评论 -
ftp客户端库(C++编写,平台Linux,Win)
ftplib++ (C++,Linux,Win)http://kasablanca.berlios.de/ftplibpp/ftplib++ contains a c++ class providing ftp client functionality. It supports all basic ftp functionality plus some advanced features原创 2006-11-12 23:28:00 · 8642 阅读 · 1 评论 -
gcc/g++: 连接到特定library
5. 執行程式的問題 5-7. 編譯程式時發現如 " /tmp/ccQrRIy4.o(.text+0x7): undefined reference to `SSL_library_init " 之找不到某library提供之function的錯誤訊息。 解答:編譯程式若需要連結到特定library需增加 -lLIBNAME 之參數。 這裡以test.转载 2006-11-14 11:50:00 · 1013 阅读 · 0 评论 -
Segmentation Fault
A segmentation fault occurs when your program tries to access memory locations that havent been allocated for the programs use. Here are some common errors that will cause this problem:scanf("%d",转载 2006-11-14 12:40:00 · 862 阅读 · 0 评论 -
Linux下清空多级目录(C++)
#include #include #include #include #define _XOPEN_SOURCE 500int deal( const char *file ,const struct stat* sb, int flags, struct FTW *f);int main(){ using namespace std; int flags = FTW_D原创 2006-11-24 19:22:00 · 1015 阅读 · 0 评论 -
代码移植中的诡异bug
在Linux下运行正常的代码,移植到Visual Studio.Net 2003下时,发生了非常奇怪的错误。string fileName = "local.conf"; 一句竟然报错说fileName没有声明( undeclared ),再将此行上面的if( .... ){ .............}改为if(.............){ ......原创 2006-12-04 01:37:00 · 855 阅读 · 0 评论