c/c++中#号的用法(转)
摘要:转自:http://blog.sina.com.cn/s/blog_4cf015f201009o1d.html第一种情况作为Stringizing Operator(#),暂叫字符串化吧。#define stringer( x ) printf( #x "\n" ) int main() { ...
阅读全文
posted @
2015-01-15 15:34
Ulric.li
阅读(519)
推荐(0)
ulimit
摘要:资料参考http://www.linuxidc.com/Linux/2011-04/34025.htmhttp://www.cnblogs.com/qq78292959/archive/2012/05/08/2490443.html症状在新的测试机上测试的程序core了,但居然没有core文件产生。...
阅读全文
posted @
2015-01-14 09:36
Ulric.li
阅读(212)
推荐(0)
linux下LD_LIBRARY_PATH的作用与设置
摘要:症状新写的C++程序,在开发机上运行良好,但移置到一台全新的机器后,连接共享库失败,具体信息如下:atp@YFCS-4-DBWAS:/data/atp/dispatcher/bin> ./dispatcher./dispatcher: error while loading shared libra...
阅读全文
posted @
2015-01-07 16:58
Ulric.li
阅读(2853)
推荐(0)
linux ldd 命令浅析
摘要:用了很多次ldd,但突然发现自己根本不会用ldd,所以今天baidu了一下,然后转一下人家的文章过来看看,学习学习。来源:http://blog.csdn.net/cyberrusher/article/details/7250824ldd的作用是打印可执行档依赖的共享库文件。它是glibc的一部分...
阅读全文
posted @
2015-01-05 14:49
Ulric.li
阅读(5311)
推荐(0)
Linux strace命令
摘要:最近,公司的程序都要求从aix上转移到x86的linux机器上,数据库由informix && oralce 转移到 mysql,简称x86 && 云化。熟悉的truss没了……但幸好,linux下有strace!!!下面是strace的教程,转自:http://www.cnblogs.com/gg...
阅读全文
posted @
2015-01-05 14:34
Ulric.li
阅读(321)
推荐(0)