自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(7)
  • 资源 (6)
  • 收藏
  • 关注

原创 solaris 编译socket程序

今天编译一个socket程序,报错:未定义的符号在文件中。 inet pton ....开始没有注意头文件后来到网上搜寻了一下, 在g++的编译的时候,要加:g++ *.cpp   -lnsl  -lsocket.执行成功。

2012-10-31 16:47:42 1085

转载 bad interpreter: 没有那个文件或目录 解决方法

bad interpreter: 没有那个文件或目录 解决办法:如果sh目录存在且脚本无误,最可能是原因是在windows下写的脚本是dos格式的,放在Linux下编码不识别,解决方法是使用dos2unix命令转一下,即输入: dos2unix 文件名      产生DOS格式的原因:    Windows下传输sh文件  导致bash编码错误! 需

2012-10-31 14:50:48 5205

原创 quotactl() function prototype missing in sys/quota.h

最近在hp-ux上写磁盘配额的模块,结果出现了一个问题,就是:quotactl() function prototype missing in sys/quota.h 。quotactl()函数原型没在sys/quota.h里面声明。经过多次调试,查资料。后来发现这是个很简单的问题。 因为我写的是.cpp文件。而quotactl()是C函数。所以加上:extern "C" in

2012-10-25 13:08:50 1766

原创 /usr/lib/dld.sl: Can't find path for shared library

在hp-ux上调试时出现了,/usr/lib/dld.sl: Can't find path for shared library: **.sl/usr/lib/dld.sl: No such file or directoryAbort(coredump)这是lib的环境变量设置错误的原因。去修改将lib的环境变量设置上。LD_LIBRARY_PATH=$TUXDIR

2012-10-23 15:48:13 2891 4

转载 svn在linux下的使用

linux下svn的使用手册:  1、将文件checkout到本地目录svn checkout path(path是服务器上的目录)例如:svn checkout svn://192.168.1.1/pro/domain简写:svn co       2、往版本库中添加新的文件svn add file例如:svn addtest.php(添加test.php)s

2012-10-17 11:09:09 929

原创 make: 1254-055 Dependency line needs colon or double colon operator.

在AIX上make makefile文件时,出现了以下错误: make: 1254-055 Dependency line needs colon or double colon operator.      后来查了很久,发现自己普通用户,而用which make时,发现是:/usr/bin下。 是aix自带的make。然后更改/usr/local/bin的权限。 就可以ma

2012-10-12 17:58:42 7194 1

原创 unsigned int转为十六进制方法

unsigned int转为十六进制的方法:#include #include #include void unsigned_to_hex(unsigned int value, std::string& hex_string){ std::strstream buffer; buffer.setf(std::ios::showbase); buffer <<std

2012-10-12 15:04:03 6547 1

高质量C++编程指南

高质量C++编程指南,C++经典书籍,学C++必读。请大家一定要下载下来看看。

2018-07-25

ML_peer_certificate_patch_A

windows上的第二个补丁。。 When you run the submit script, if you are seeing error messages that contain any of these phrases... urlread, curl, urlreadwrite, peer certificate, CA certificate, unsupported protocol, JSONparser

2016-02-29

ML_Octave_400_patch

ML_Octave_400_patch是斯坦福大学机器学习课程中,OCtave作业的补丁1。。 When you run the submit script, if you are seeing error messages that contain any of these phrases... urlread, curl, urlreadwrite, peer certificate, CA certificate, unsupported protocol, JSONparser

2016-02-29

WinPcap_4_1_3

WinPcap_4_1_3,网络抓包的基础包。这是最新版的。

2016-02-25

经典算法大全(经典算法大全)

经典的算法大全。需要的看看吧。挺不错的。

2011-04-07

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除