自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(37)
  • 资源 (5)
  • 收藏
  • 关注

原创 Boost Fedora14 Gcc4.8.1 configurations

~/.bashrc的部分内容BOOST_ROOT=~/boost_1_54_0BOOST_LIB=~/boost_libsBOOST_TEST=~/boost_test只是使用header files only的比较简单c++ -I $BOOST_ROOT example.cpp -o example 即可若是要使用BOOST编译好的libs,得再增加几部 ./

2013-11-19 11:03:23 760

转载 exception 相关资料,noexpect和throw()的区别等

http://stackoverflow.com/questions/88573/should-i-use-an-exception-specifier-in-c/88905#88905http://stackoverflow.com/questions/12833241/difference-between-c03-throw-specifier-c11-noexcept回家接着读天

2013-10-08 17:10:59 1395

转载 bind1st 和 bind2nd的区别

今天总算是弄明白bind1st和bind2nd是怎么用的,有什么区别了。只知道工作,不知道学习很久了。 // bind1st example#include #include #include using namespace std;int main () {  int numbers[] = {10,20,30,40,50,10};  int cx;  c

2013-10-08 15:35:06 1439 1

原创 CentOS install GCC4.8.1

wget http://ftp.gnu.org/gnu/gcc/gcc-4.8.1/gcc-4.8.1.tar.bz2tar jxf gcc-4.8.1.tar.bz2./contrib/download_prerequisitescd ..mkdir gcc-build-4.8.1cd gcc-build-4.8.1../gcc-4.8.1/configure --ena

2013-06-02 18:37:01 1184

转载 centos install gcc 4.8

From: http://www.cnblogs.com/zhangtingkuo/archive/2013/04/06/3002982.htmlCentOS 6.4 编译安装 gcc-4.8.01.首先下载源代码?wget http://ftp.gnu.org/gnu/gcc/gcc-4.8.0/gcc-4.8.0.tar.bz2

2013-05-20 20:32:59 709

转载 some learning resource for C++ 11

http://www.cplusplus.com/articles/cpp11/

2013-05-09 16:53:18 510

原创 Xming font is small

when using putty ssh to a linux machine and redirect X11 display to windows host.using gvim at the ssh, there is a gvim displayed in windows host.the font is too small. take a reference at:h

2013-05-06 14:41:09 625

转载 open source C++ programs

Ref:http://stackoverflow.com/questions/4324169/good-open-source-code-for-cVLC, Firefoxetc..

2013-05-03 17:17:03 399

转载 Download ACCU Overload Journal

http://accu.org/index.php/journals/c78/

2013-04-12 16:26:20 426

转载 solaris xstartup using gnome

From:http://vegdave.wordpress.com/2006/10/16/using-gnomecde-in-vnc-on-solaris/If you install VNC on Solaris, the default windowing manager is twm, which isn’t very sexy. Here is how you

2013-04-02 13:46:10 577

原创 gcc 4.7.2 编译和运行c++11的文件

[jun@192 lang]$ g++ lambda1.cpp -std=c++11[jun@192 lang]$ ./a.out ./a.out: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by ./a.out)[jun@192 lang]$ g++ lambda1.cpp -std=c

2013-02-20 22:13:14 803

转载 Solution to Msg.exe “Error 5 getting session names”

InfoMy Windows-Server 2008 R2 machine couldn’t msg my Windows 7 box due to Error 5 getting session names.I found the solution here, in a comment made by Consoles. I reblog it so it can be found

2013-02-17 13:48:54 2082

转载 如何开启windows 7多用户远程登录

运行gpedit.msc打开组策略,计算机配置-管理模板-Windows组件-远程桌面服务-远程桌面会话主机-连接-“限制连接数量”,如果将状态设置为“禁用”或“未配置”,则在“组策略”级别上不强制限制连接的数量。

2013-02-07 09:19:53 438

转载 open tag in new tab in vim

Is there a plugin or script to open ctags entries in a new tab? I'd like to put my cursor over a function, press ctrl+] and have the entry open in another tab. I'd also like if I visually select an en

2012-11-25 16:07:38 903

转载 centos 安装 gcc4.7 以支持 c++ 11

最近心血来潮,想学习C++11于是先整个支持C++11的编译器先以下转载自:http://www.cnblogs.com/linbc/archive/2012/08/03/2621169.htmllambda表达式,想说爱你不容易。STL为我们提供了很多算法,却没有提供匿名函数,真是罪过!本文的故事从此开始。c++0x为我们带来了一阵春风,提供了lamb

2012-11-22 22:25:05 2548

转载 Linux Force telnet / ssh to use crtl-H for backspace

转载链接:http://unix.stackexchange.com/questions/13413/force-telnet-ssh-to-use-crtl-h-for-backspace#!/usr/bin/expect#Name this file as kbdfix and make it executable in your patheval spawn

2012-11-16 11:58:32 457

转载 vim + cscope

using CentOS 6.3 finalyum install cscopeyum install gvimfind . -name '*.c' -o -name '*.cpp' -o -name '*.h' > cscope.filescscope -Rhttp://www.techpulp.com/blog/2010/09/why-syntax-highligh

2012-11-08 12:29:09 340

转载 我的vimrc

" ref:http://amix.dk/vim/vimrc.html" using gvim 73 on windowsset nocompatible" not usin backup filesset nobackup"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" => VI

2012-11-01 09:57:12 229

原创 Adobe Reader XI is very fast

Open faster than X...

2012-10-15 22:51:30 265

转载 预处理

debug的时候,有时候会需要用到预处理后的.i文件;visual studio 2005,用 CL /P /C ADD.C就会生成ADD.i但这个ADD.i 里会有很多#line xx xx.h来代替.h 文件改用CL /EP /C ADD.C > ADD.i即可gcc的话更直观些gcc -E Add.C -o ADD.i

2012-09-18 16:21:03 217

转载 Windows tips summary

1. 内存释放    regedit    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\ CurrentVersion\Explorer    new a string AlwaysUnloadDLL and value 1  2. file associateftype code="C:\Program Files (x

2012-09-06 09:03:13 236

转载 disable thinkpad keyboard NmLk

How to disable the NumLock on a IBM Thinkpad T43For those of unfortunate users of the old IBM Thinkpad T43 there is an annoying feature that enables a numlock on the keyboard.  This should fix most

2012-08-10 14:01:29 367

翻译 Linux mannual page to txt

man telnet | col -bx > telnet.txt

2012-08-03 14:12:51 247

转载 visual studio command line

http://msdn.microsoft.com/en-us/library/9s7c9wdw(v=vs.100).aspx

2012-08-02 14:17:38 1090

原创 microsoft symbol 相关

想要快速在windows上debug看back trace真不容易呀symbol pathshttp://msdn.microsoft.com/en-us/library/windows/desktop/ms680689%28v=vs.85%29.aspxsymsrvhttp://msdn.microsoft.com/en-us/library/windows/de

2012-07-19 23:20:32 199

转载 winDbg symbol ~ 出自【http://www.pulog.org/Ori/184/Windbg-symbol/】

Author: wpulogSite: http://www.pulog.orgDate: 2010-03-26[目录]0×00 前言0×01 问题描述0×02 问题解决方法0x00 前言    符号文件是调试器工作的重要依据,对很多调试功能都起着重要作用,例如栈回溯、源代码级跟踪、变量观察等等。在 Windows 系统中,符号文件以 .pdb 为扩展名,比如:

2012-07-19 17:06:03 541

转载 [Android 模拟器 device not found]

在系统环境变量中设置一下ANDROID_SDK_HOMEC:\Program Files (x86)\Android\android-sdk[转载自]http://www.inandroid.cn/bbs/thread-120858-1-1.html

2012-01-18 21:33:08 603

原创 fedora 14 cscope 看C/C++代码

1.cd 到代码所在目录2.find > cscope.files3.cscope生成symbol的db文件以后每次cd到代码所在目录,直接cscope -d就可以看代码了,搜索速度要比source in sight快很多

2011-11-01 09:53:02 452

原创 fedora 14 samba server configuration

[jun@Jun-OCZ ~]$ cd /etc/samba[jun@Jun-OCZ samba]$ lslmhosts  smb.conf  smbusers[jun@Jun-OCZ samba]$ cat smb.conf# This is the main

2011-10-18 21:49:13 505

原创 fedora使用pidgin登录microsoft office communicator

在网络上搜索找到一篇类似在ubuntu下登录moc的文章于是在fodora14下尝试了一下1.yum install pidgin2.yum install pidgin-sipe3.在Add一个pidgin账户的时候,发现有Off

2011-10-10 19:29:11 824

转载 【转载】用source insight 看python源代码

我们知道,source insight是一款相当强大的看代码的软件,它对于java,js,c,c++的支持相当的好。但是,它却没有提供对python的内置支持。这对于pythoner来说是个不小的遗憾,所以我这里给大家一个让source insight支持python的配置方法。

2011-10-09 20:07:48 443

转载 Fedora 14下安装NVIDIA驱动

[From:] http://www.linuxdiyf.com/viewarticle.php?id=196321今天下午安装了NVIDIA的驱动程序,由于是新手在网上查了半天资料,尝试了很长时间,终于安装成功,就把这个写下来了。1、下载NVIDIA的lin

2011-09-23 10:59:31 253

转载 打造最快的Hash表

[转载自] http://www.vcgood.com/forum_posts.asp?TID=771&PN=1(暴雪用的MPQ文件)最近在网上看到篇文章,一起拜一拜暴雪先提一个简单的问题,如果有一个庞大的字符串数组,然后给你一个单独的字符串,让你从这个数组中

2011-09-12 14:47:58 254

转载 Linux如何访问Windows共享文件

google搜索到的,放在这里分享下smb://[windows ip]

2011-09-06 12:48:03 253

原创 using cscope + vim

为了摒弃D版的SI,于是乎投入了cscope+vim的怀抱当然,SI是在windows下使用,目前我的cscope+vim是在Linux下使用,在yum安装了cscope和vim之后,download了linux kernel的source code解压后,cd到linux kernel解压后的目录cscope -Rbuild symbol的database然后再有cs

2011-06-27 22:21:00 282

原创 CScrollBar的困惑的解决

泡在论坛上看了好多有关CScrollBar的帖子,虽然问题没有直接给出解决方案,但是给了我很多启发,于是我去msdn中大海捞针,知道有这个针,就一定可以找到的。:)终于被我发现了:msdn上有讲产生这个问题的原因以及解决方案,感谢csdn和msdn以下引用自msdn2002:RemarksThe GetScrollInfo function enables applications to

2007-10-16 09:41:00 566

原创 CScrollBar的困惑

作为VC初学者,很多问题的解决都是靠msdn和网上的例子解决的,很少有自己的设计。在遇到了使用一个CScrollBar后,在增加了scrollrange后拖了一段自动返回起始端,百思不得其解,于是又查msdn,又来到csdn上找相关文章,找到一篇类似的,还是拿来研究研究吧。http://topic.csdn.net/u/20070722/13/88d39302-832d-41a6-a9eb-2e0

2007-10-15 16:29:00 521

Java-How to program 9th edition source code

从Deitel下载到的,配合Java-How to program 9th edition有助于学习

2012-08-22

Java-How to program 9th edition

看起来非常舒服,pdf做的很好,去Deitel注册一下还可以下载源代码,非常好

2012-02-01

DataRam Ramdisk

经过本人验证 windows7 64bit可以使用,免费版本最多虚拟4G ramdisk,个人使用的话应该绰绰有余了

2011-10-09

advanced-linux-programming

高级Linux编程 介绍了很多与Linux相关的编程技术 进程间通信 系统调用技术等 C/C++实现

2011-05-24

空空如也

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

TA关注的人

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