Lowest BitProblem DescriptionGiven an positive integer A (1 2 #include 3 #include 4 using namespace std; 5 int fen(int n) 6 { 7 int i,a; 8 fo...
分类:
其他好文 时间:
2015-05-29 20:18:01
阅读次数:
137
1.安装maven下载http://mirror.bit.edu.cn/apache/maven/maven-3/3.3.3/binaries/apache-maven-3.3.3-bin.zip(1)改名apache-maven-3.0.4移动到/usr目录的时候,我会把其改名为maven,这是为了方便使用。(2)修改环境变量:vi/etc/profile#mavenexportMAVEN_HOME=/usr/local/m..
分类:
其他好文 时间:
2015-05-29 18:33:39
阅读次数:
382
计算机中的转换
1GB=1024MB=1024*1024KB=1024*1024*1024B
1B=8bit
TB>GB>MB>KB>B
计算机中内存容量的计算是以字节(B)为单位的,CPU的运行位数是以bit为单位的
校验码
先进度排名:奇偶
奇偶:不能判断具体哪位出错
海明码:2^K-1...
分类:
其他好文 时间:
2015-05-28 18:09:43
阅读次数:
141
一、准备工作,依赖包安装yuminstallapr*yuminstallsqlite*二、下载svn包和安装cd/usr/local/src/wgethttp://mirror.bit.edu.cn/apache/subversion/subversion-1.7.20.tar.gztar-zxvfsubversion-1.7.20.tar.gzcdsubversion-1.7.20/./configure--prefix=/usr/local/subversion--..
分类:
系统相关 时间:
2015-05-28 14:20:41
阅读次数:
166
最近搞一个WinCE项目,要用到SQLite。看人家都能直接在Visual Studio上连接SQLite。我也按照他们的方法安装了最新的Setups for 32-bit Windows (.NET Framework 4.5.1)。硬是安装了一天都没发现有添加SQLite连接的选项。 最终...
分类:
数据库 时间:
2015-05-28 12:14:15
阅读次数:
185
结论已经出来了,现在补充下正文... 碰到CRC校验好多次了.. 这次在datasheet里面直接看到了。 不纠结。 果断去找资料。 这个.c文件不记得从哪里扣过来的了.. /*
* crc8.c
*
* Computes a 8-bit CRC
*
*...
分类:
其他好文 时间:
2015-05-27 21:21:05
阅读次数:
379
Answer:When applying permissions to directories on Linux, the permission bits have different meanings than on regular files.The write bit allows the a...
分类:
系统相关 时间:
2015-05-27 18:46:23
阅读次数:
171
为绿色安装 下载http://www.mongodb.org/downloads,选择合适的版本,此处由于我是centos系统,选择linux->Linux 64-bit legacy tar zxvf?mongodb-linux-x86_64-3.0.3.tgz mv?mongodb-linux-x86_64-3.0.3 mong...
分类:
数据库 时间:
2015-05-27 12:36:49
阅读次数:
166
1.Bitvise SSH Clienthttp://www.putty.org/Bitvise SSH Client is an SSH and SFTP client for Windows. It is developed and supported professionally by Bit...
分类:
其他好文 时间:
2015-05-27 11:42:42
阅读次数:
522
本文介绍在Ubuntu12.04 (64 bit) 下使用Qt 4.8.2连接MySQL(Ver 14.14 Distrib 5.5.43)数据库。1、安装 Qt 和 MySQL 若未安装以上软件,可参考我的博客安装。安装Qt:Ubuntu12.04下安装Qt4总结 -->http://www...
分类:
数据库 时间:
2015-05-26 17:50:45
阅读次数:
183