自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

ChuJiangKeDeJiuShu的专栏

每天叫醒你的不是闹钟,而是梦想。

  • 博客(22)
  • 资源 (3)
  • 收藏
  • 关注

转载 ubuntu编译安装emacs

原文链接  http://blog.csdn.net/gexueyuan/article/details/6452459 用apt-get安装emacs的话,版本是23.1.1,版本太低,所以在GNU的网站下了一个GNU emacs来安装。 将在GNU的ftp下载的文件包解压到一目录,cd进入该目录,然后 ./configure进行配置生成make文件,但是运行完一阵子后报

2013-04-27 02:08:15 2825

转载 ubuntu安装Gtk

GTK Gossip: Ubuntu 下安裝 GTK在撰寫這篇教學文件時正好在玩Ubuntu,這邊說明一下如何在Ubuntu下設定GTK開發基本環境。由於GTK基本上主要以C語言來撰寫,您必須有C編譯器,Ubuntu預設安裝好後就有gcc了,不過缺少必要的Header file,您可以在文字模式下,安裝build-essential套件,例如:sudo apt-ge

2013-04-27 01:34:10 1766

原创 ubuntu13.04安装ati驱动

参考12.04的安装方法。注意要在ati官网下载最新的驱动。就可以了。1、sudo apt-get install build-essential cdbs dh-make dkms execstack dh-modaliases fakeroot   2 在ati官网下最新的驱动。

2013-04-26 23:49:33 2541

原创 centos6.4 bcm4313无线驱动安装

参考了个大神的http://blog.chinaunix.net/uid-14070437-id-3291537.html昨天笔记本升级到centos6.3, bcm4313无线网卡的驱动编译出现状况,无法通过编译, broadcom官方没有提供更新,又没搜到好的解决方案,那就自己动手喽。问题分析:读驱动代码,看上去是redhat升级了高版本的内核代码,版本号却没升;然后驱动中

2013-04-20 21:58:49 2098

转载 centos安装qt

下载QT5 SDK下载地址:http://qt-project.org/downloads。2.安装QT5下载完后,假设放在Download/,切换到该目录,输入:./qt-linux-opensource-5.0.0-x86-offline.run运行;出现以下错误:./qt-linux-opensource-5.0.0-x86-offline.run: /usr/lib/lib

2013-04-20 00:39:48 1814

转载 CentOS-6.3安装配置JDK-7

zhoulf 2013-02-04 原创http://www.cnblogs.com/zhoulf/archive/2013/02/04/2891608.html安装说明系统环境:centos-6.3安装方式:rpm安装 软件:jdk-7-linux-x64.rpm下载地址:http://www.oracle.com/technetwork/java/javase/do

2013-04-18 19:45:26 1140

转载 c++函数返回值与引用

原文http://blog.csdn.net/piratejk/article/details/6162554对于函数的返回值,看似简单,但并非如此,比如:int func(int a);该函数会返回一个int型,如果进行一个调用int result=func(3);会发生什么情况?首先,func将返回值复制到一个匿名临时变量中,在这里假设该临时变量为anony(其实是没有

2013-04-14 12:11:34 898

原创 centos上安装mysql

yum install mysql*# service mysqld start.设置数据库管理员root密码# mysqladmin -u root password '123456'# service mysqld restart .进入Mysql # mysql -u root -p

2013-04-13 07:24:45 753

原创 sstringstream

#include#include#include#includeusing namespace std;int main(){ string s="2013/4/8"; int y ,m , d; char c; stringstream ss(s); ss>>y>>c>>m>>c>>d; cout<<y<<" "<<m<<" "<<

2013-04-12 17:34:45 992

原创 map<string,int>

#include #include #include #include #include using namespace std;void main(){ typedef map::iterator mit; map ma; mit it; ifstream in("in.txt"); int c=0; string str; string st; while(

2013-04-10 18:42:59 3701

原创 string时间处理的很好

#include#include#include#include#include#include#includeusing namespace std;int main(){   string time="2013/4/8";   string year(time.begin(),time.begin()+4);   string month(tim

2013-04-08 13:07:39 780

转载 深度拷贝的重要性

#include #include #include   using   namespace   std; class   CDemo   {  public:      CDemo():str(Null){};      ~CDemo()       {           if(str)   delete[]   str;       };

2013-04-07 00:04:22 2154

转载 程序员学习能力提升三要素

程序员学习能力提升三要素IT技术的发展日新月异,新技术层出不穷,具有良好的学习能力,能及时获取新知识、随时补充和丰富自己,已成为程序员职业发展的核心竞争力。本文中,作者结合多年的学习经验总结出了提高程序员学习能力的三个要点。众所周知,现在是一个知识爆炸的时代,知识更新非常快。据测算,一个大学毕业生所学到的知识,在毕业之后2年内,有效的不过剩下5%。对于软件行业而言,这种形势更为

2013-04-06 09:09:03 902

原创 好代码起提示作用

#include#include#includeusing namespace std;class Point //point 类{public:Point(int xx=0,int yy=0){x=xx;y=yy;}Point(const Point &p);int getX() {retur

2013-04-06 08:57:54 880

转载 C++类对象的复制-拷贝构造函数

C++类对象的复制-拷贝构造函数在学习这一章内容前我们已经学习过了类的构造函数和析构函数的相关知识,对于普通类型的对象来说,他们之间的复制是很简单的,例如:int a = 10;int b =a;  自己定义的类的对象同样是对象,谁也不能阻止我们用以下的方式进行复制,例如:#include  using namespace std;  cla

2013-04-05 17:13:17 1077

原创 centos上支持打开chm文件

#yum install kchmviewer*也可以在firefox上搜索chm插件

2013-04-05 16:58:45 3581 1

原创 centos换源

1、 cd /etc/yum.repos.d2、 wget http://mirrors.163.com/.help/CentOS6-Base-163.repo3、替换CentOS-Base.repos4、yum update 即可。很简单要做好备份#mv /etc/yum.repos.d/CentOS-Base.repo/etc/yum.repos.d/CentOS-

2013-04-05 10:22:27 1236

原创 模板堆栈

#includeusing namespace std;template class AnyStack{ T m_tStack[n]; int m_nMaxElement; int m_nTop; public:  AnyStack():m_nMaxElement(n),m_nTop(0){}  int GetTop() {return m_nTop;}

2013-04-05 08:38:34 760

原创 Unfinished transactions remaining - yum-complete-transaction

While trying to run a yum update I received the below warning message: Setting up Install ProcessResolving DependenciesThere are unfinished transactions remaining. You might consider runni

2013-04-05 07:32:20 1464

原创 static对象初始化

#include#includeusing namespace std;struct MyStruct{   string name;   int a;}; ////////////////////////////////////////////////////////要有;号不然会报错 很隐蔽的错误。class A{ public:

2013-04-05 06:53:24 775

原创 linux删除netbeans

找到默认安装位置/usr/local/netbeans-7.3                              sh uninstall.sh

2013-04-04 22:05:21 1274

原创 关于构造函数和拷贝赋值操作符,还有引用

/*  * File:   main.cpp * Author: chujiangke * * Created on 2013年4月1日, 下午11:04 */#include #include using namespace std;/* *  */class point{    int a;    int b;

2013-04-02 18:10:52 658

emacs配置

大神的emacs配置,在home下建.emacs.d将文件拷贝进去。 启动emacs自动更新,碉堡了。

2013-04-09

C PlUS PLUS 最新版c13

C PlUS PLUS 最新版c13 好多c++的例子 很好

2013-03-17

c++帮助文档

c++开发文档 可以方便的进行头文件库查询 全名叫 c plus plus 编译的 HTML 帮助文件 (.CHM)

2013-01-31

空空如也

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

TA关注的人

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