摘要: 参考文章:http://jingyan.baidu.com/article/29697b912f6539ab20de3cf8.html 阅读全文
posted @ 2016-01-06 21:44 随风飘落的雨滴 阅读(98) 评论(0) 推荐(0) 编辑
摘要: 参考文章:http://jingyan.baidu.com/article/29697b912f6539ab20de3cf8.html 阅读全文
posted @ 2016-01-06 21:43 随风飘落的雨滴 阅读(156) 评论(0) 推荐(0) 编辑
摘要: 代码如下: char current_absolut_path[MAX_SIZE] = ""; memset(current_absolut_path,0,MAX_SIZE); //获取当前程序绝对路径 int cnt = readlink("/proc/self/exe",... 阅读全文
posted @ 2016-01-06 13:31 随风飘落的雨滴 阅读(658) 评论(0) 推荐(0) 编辑
摘要: 参考文章:http://www.cnblogs.com/shenlian/archive/2011/05/21/2053149.html 阅读全文
posted @ 2016-01-06 09:56 随风飘落的雨滴 阅读(110) 评论(0) 推荐(0) 编辑