- 博客(11)
- 收藏
- 关注
原创 chmod 777 什么意思:鸟哥的linux私房菜第六章学习笔记
鸟哥的linux私房菜基础学习篇:心血来潮决定看一下这本书,虽然都是讲很基础的东西,但是,绝对不是浪费时间,比如我看完了之后就终于明白了chmod777是什么意思了。写这个读书笔记也主要是想记录一些常用的命令,方便以后查阅。从第六章开始。第六章:linux的文件权限与目录配置6.1 用户与用户组基本知识不解释,记录用户身份和用户组记录的文件用户的信息记录在/etc/passwo
2014-02-18 14:51:09 16158 2
原创 eclipse在linux(ubuntu)cdt插件:导入了makefile 文件系统之后出现program files not specified
我在eclipse上导入了自己的一个含有makefile文件系统。按照这个网页来的:http://www.tuicool.com/articles/2QryUvFile -> New -> Makefile Project with Existing Code选择源码目录,语言选择C语言。如果是 Linux 环境,则选中 Linux GCC,Mac 环境则选择 MacOSX GCC,W
2014-02-17 11:35:10 1852
原创 c++ 读文件产生随机数
读文件得第一行的数字作为随机数的最大值。随机数写入文件中,这个代码随机产生了1000个点对。#include#include#include#include#include#include#define random(x) (rand()%x)int main(int args, char **argv){ std::ifstream fin(
2014-02-13 16:07:10 692
原创 c++ 生成随机数rand()函数的使用:设定范围
#include#include#include#include#include#include#define random(x) (rand()%x)int main(int args, char **argv){ srand((int)time(0)); for(int x=0;x printf("%d\n",ran
2014-02-13 15:40:28 4051 1
原创 linux eclipse c++ 导入一个含有makefile的工程
参照:http://www.linuxidc.com/Linux/2011-02/32763.htm
2014-02-12 22:00:35 3374
转载 linux 强制关闭eclipse命令
sudo kill -9 `ps -ef|grep eclipse|awk '{print $2}'`参照:http://www.linuxidc.com/Linux/2008-05/12920.htm
2014-02-12 21:59:12 6011 1
原创 linux 使用cryptop++安装过程。 问题:Unresolved inclusion “hodes.h”
安装cryptop++命令:apt-cache pkgnames | grep -i crypto++sudo apt-get install libcrypto++9 libcrypto++-dev libcrypto++9-dbg然后我安装了eclipse for c++然后按照这个帖子进行设置eclipse:http://programmingknowledgeblog.blo
2014-02-12 21:09:15 2126
原创 launch failed binary not found---eclipse c++ linux
在ubuntu 下安装了eclipse c++,如果运行出这个错:launch failed binary not found。按照如下步骤:1 指定编译器:window->preferences->c/c++-> new CDT project wizard -> makefile project-> 选择elf parser 和 gnu elf parser 然后点击apply2
2014-02-12 20:38:36 753
转载 ubuntu 安装boost
详细http://blog.chinaunix.net/uid-12226757-id-3427282.html # apt-cache search boost你将看到很多文件信息,你会看到其中一个文件叫 libboost-dev, 直接安装此文件即可: # apt-get install libboost-dev这样就安装成功了。这个速度很快,是因为直接拷贝了lib文件
2014-02-10 14:06:07 507 1
原创 ubuntu 设置双显示器桌面延伸命令
terminal中运行xrandr命令Screen 0: minimum 320 x 200, current 1280 x 1024, maximum 8192 x 8192DVI-0 connected 1280x1024+0+0 (normal left inverted right x axis y axis) 338mm x 270mm 1280x1024 60
2014-02-07 22:09:43 1570 1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人