- 博客(3)
- 资源 (4)
- 收藏
- 关注
原创 ubuntu14.04 安装 vncserver
一、使用 xfce4 安装, 直接参考 网址 http://www.howtoforge.com/how-to-install-vnc-server-on-ubuntu-14.04,不过在最后一步: update-rc.d vncserver defaults 99 可能会出现错误: update-rc.d: warning: /etc/init.d/vncserver missing
2014-09-30 10:22:25
1033
原创 各种比较好的资源的链接(回调函数、单例模式等)
回调函数 http://partow.net/programming/templatecallback/index.html#Download 讲的很详细了,还没看完。 单例模式 http://javarevisited.blogspot.com/2011/03/10-interview-questions-on-singleton.html 是针对java语言
2013-10-08 13:03:49
614
原创 使用vector实现非递归快排
使用vector比较方便,不需要再实现栈,所以直接使用pair来保存快排中需要排序的区间,直接使用vector >比较方便。 直接上代码吧,也没技术含量。 #include #include #include using namespace std; /*int partition2(int arr[], int begin, int end) { int key = ar
2013-09-27 17:47:42
602
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人