自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

Coder

商业化产品可能是有用的, 但最好的东西往往是免费的, 空气,水,Vim。

  • 博客(15)
  • 资源 (5)
  • 收藏
  • 关注

转载 关于GCC中同时使用动态和静态库链接的操作参数和解释

在我们开发的一个系统中,由于动态链接其中的一个动态库时,编译时没有问题,而运行时不能进行,如果将该库静态连接时,运行却没有问题。具体什么原因,一直没有搞清楚,权且当作暂时的解决办法。    如何同时同时使用动态和静态库链接,在GCC指令参数中具体参数如下:     -Wl,-Bstatic -L/usr/local/sqlite-arm-linux/.libs -lsqlite -Wl

2013-04-28 22:28:52 974

原创 git的使用

和svn相比较git的使用也很方便,一个突出的好处,不要本地run一个server,节省了资源。 设置git全局变量 git config --global user.name "xxx" git config --global user.email "[email protected]" 带GUI的git的调用 gitk git使用一般流程 git init

2013-04-28 14:59:02 787

原创 开发工具小结

总结一下这些年来使用过的工具 1. visual studio 2. eclipse 3. codeblock 4. qtcreator 5. matlab 6. vim visual studio是使用的第一个开发环境,上手很好,且debug很方便是windows开发不二选择。 eclipse是个全能选手java c++无所不能加一些插件比如val

2013-04-25 17:21:24 931

原创 google test

看一了一下google test的sample, 小结一下unit test 如果是是脚本语言那么做unit test将会是一件非常简单的事情,对于简单的应用设计test case很简单,但是对于复杂的应用unit test可能很难设计。

2013-04-25 16:48:13 544

转载 几种内存操作性能比较

Comparisation TLSF  Two-Level Segregate Fit, mainly on RTOS jemalloc  Jason Evans's malloc, used by firefox dlmalloc  Doug Lea’s malloc, been around forever ptmalloc2  Doug Lea’s malloc, ext

2013-04-25 16:24:49 1646

原创 folly (facebook opensource library)

https://github.com/facebook/folly/blob/master/folly/docs/Overview.md 主要是对现有的boost和stl的某些内容进行速度和内存使用上的优化,其中大量的都是关于多线程和并发设计的优化,且对C11的特性都有所使用。 1.small_vector Short-lived stack vectors with

2013-04-25 16:15:38 1308

转载 glog(Google Logging Library)

对MPI支持一样好用  记得要传递FLAGS_v http://code.google.com/p/google-glog/downloads/detail?name=glog-0.3.3.tar.gz&can=2&q= How To Use Google Logging Library (glog) (as ofFri Jan 25 2013) Introduction Go

2013-04-25 15:18:45 7358

转载 vim(五) Ctrl + S ,ctrl +Q

Ctrl-S Ctrl-S 可能算是 Windows 下最常用的保存快捷键了,但是在类 Unix 系统下面却不是起保存的功能。 最近都是在用 Cygwin + VIM 阅读和编写代码,时不时会不注意按到 Ctrl-S,导致 VIM 跟挂住了一样,啥都无法干,最后只能重启 shell,一开始我以为是 VIM 在 Cygwin 下面有啥不适应的,所以就在 ~/.vimrc 里面把 Ctrl

2013-04-22 17:09:14 7645

原创 vim(四) 使用技巧之缩进,选择,高亮

1) 如何规范当前编辑的代码文件,让他们按照括号的先后缩进。 Try the following keystrokes: gg=G Explanation: gg goes to the top of the file, = is a command to fix the indentation andG tells it to perform the operation to

2013-04-17 17:47:12 900

转载 boost::lexical_cast 的使用

1,字符串 到 数值类型的转换 2,数值 到 字符串的转换 3,异常处理情况 4,boost::lexical_cast 的原型: template     Target lexical_cast(Source arg); lexical_cast 是依赖于字符串流 std::stringstream 的,其原理也是相当的简单:把源类型 (Source) 读入到字符流中,再

2013-04-17 09:53:31 1369

原创 vim(三) 正则匹配查找

\v: magic switch, you'd better always use it. dot '.': match any character. if you do want to match dot please add \ before dot. \d: number \a: character {n}: the before character will repeat n

2013-04-12 17:49:28 1603

转载 vim(二) Global command

发信人: vale (浅谷), 信区: VIM 标  题: global命令详解  发信站: 水木社区 (Fri Jun 15 17:05:55 2007), 站内 global命令是Vim最强大的命令之一(个人认为是No.1),将其摸透用熟可以事半功倍, 本文总结了版上的一些经典问题,结合自己的使用和理解,试图通过实例详细介绍一下 其用法。示例难度不一,有些并没有多少实用性,为

2013-04-10 21:34:50 3033

原创 vim(一) 入门

过去一直不得vim的使用心得,原来vim要配合一些tool一起使用 ctags:有了他就等于有了workspace整个项目的所有文件之间的关系都了如指掌。 另外vim自身也有一系列管理多个文件的命令: ls bnext find 具体使用是先ctags -R files, 然后ctrl+]和ctrl+T spell check:帮助检查语法错误 具体使用:set spe

2013-04-10 21:33:28 1042

原创 mongoDB

mongoDB is very hot now. MongoDB (from "humongous") is an open source document database, and the leading NoSQL database. Written in C++, MongoDB features: Document-Oriented Storage » JS

2013-04-07 17:15:10 733

原创 BSON

BSON [bee · sahn], short for Bin­ary JSON, is a bin­ary-en­coded seri­al­iz­a­tion of JSON-like doc­u­ments. Like JSON, BSON sup­ports the em­bed­ding of doc­u­ments and ar­rays with­in oth­er doc­u­

2013-04-07 17:07:02 1032

magic_byte_for_linux_file

magic byte for linux file

2013-08-23

cpu_memory_optimize

介绍了在memory层次的cpp代码优化的一般办法。可以给予很多性能优化的启示。

2013-02-25

optimizing_cpp

介绍了CPP在GPU层次的优化方法optimizing cpp

2013-02-25

Effective C++

Scott Meyers' book, Effective C++, Third Edition, is distilled programming experience — experience that you would otherwise have to learn the hard way. This book is a great resource that I recommend to everybody who writes C++ professionally

2009-03-19

Programming Windows with MFC

MFC, as you probably already know, is Microsoft's C++ class library for Windows programming. Programming Windows with MFC isn't a book about C++; rather, it's a book about writing 32-bit Windows applications in C++ using MFC rather than the Windows API as the chief means of accessing the operating system's essential features and services.

2009-03-18

空空如也

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

TA关注的人

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