自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(18)
  • 资源 (63)
  • 收藏
  • 关注

原创 求100以内的素数算法

废话不多说,直接上代码: #include #include #include using namespace std; void primeLessThanN(int n){    if(n     bool *isPrime = new bool[n+1];//动态生成一个数组    memset((void*)isPrime, true, (n +

2013-03-05 17:20:17 1988 1

原创 一个比较有前景的电脑应用程序构想

通过摄像头识别手势与指令,用来控制电脑行为。

2012-12-28 11:21:11 296

转载 vim rc 配置

{和[都可以补全,但是(不行.但是,在.vimrc中我是都设置的.设置如下:代码:inoremap ( ()iinoremap ) =ClosePair(')')inoremap { {}iinoremap } =ClosePair('}')inoremap [ []iinoremap ] =ClosePair(']')inoremap ' ''iino

2012-03-19 10:00:35 850

转载 mmap函数大文件读写可能出现的问题

转载:http://www.chineselinuxuniversity.net/articles/41953.shtml------------------------------------------------------------------------- mmap函数实现把一个文件映射到一个内存区域,从而我们可以像读写内存一样读写文件,他比单纯调用read/write也要

2012-03-16 15:02:32 3277

转载 linux c 大文件使用

转帖:http://hi.baidu.com/roxws/blog/item/785c4bcb61662ff853664f2d.html----------------------------------------------------------------------------------------支持大文件的两种方式:1、gcc 加 -D_FILE_OFFSET_

2012-03-16 14:40:50 435

转载 【网摘】Linux 守护进程的编程方法

Linux 守护进程的编程方法    守护进程(Daemon)是运行在后台的一种特殊进程。它独立于控制终端并且周期性地执行某种任务或等待处理某些发生的事件。守护进程是一种很有用的进程。Linux的大多数服务器就是用守护进程实现的。比如,Internet服务器inetd,Web服务器httpd等。同时,守护进程完成许多系统任务。比如,作业规划进程crond,打印进程lpd等。   守

2012-01-15 11:07:18 359

转载 【转载】 ssh 连接 通过公钥体制,无密码登陆

CSDN不准转载,我只能将博主的连接发上来了http://blog.csdn.net/jixiuffff/article/details/5968929

2012-01-15 00:39:42 344

原创 Linux timer example

#include #include #include #include void handler(){printf("hello\n");}int main(void){int i;signal(SIGALRM,handler);alarm(5);for(i=1;i{printf("sleep %d seconds...\

2012-01-14 23:32:56 466

原创 未来移动平台操作系统是谁的天下

现在比较主流的移动平台操作系统有ios,andriod,windows phoneios:从苹果的历史中可以得到这个结论。乔布斯不在了,ios用不了几年就会沦落。android:内核是linux的,开源,免费。开源软件的最大问题就是质量没有保障。就想现在的Linux操作系统,发展很迅猛,可就是干不过微软。windows phone:这个操作系统市场份额好像不大,而且价格昂贵,就

2012-01-11 20:40:43 392

转载 【网摘】opendir

#include  #include  #include  main()  {  DIR * dir;  struct dirent * ptr;  int i;  dir =opendir(“/etc/rc.d”);  while((ptr = readdir(dir))!=NULL)  {  printf(

2012-01-09 22:57:32 275

转载 【网摘】Linux 下 C语言大文件读写(大于4G)

原文地址:下 C语言大文件读写(大于4G)" style="text-decoration:none; color:rgb(62,115,160)">Linux 下 C语言大文件读写(大于4G)作者:傲雪迎风以下的做法整理自论坛上的帖子。 如何create大文件要大就非常大,1T吧。有两种方法: 一.dddd if=/dev/zero of=1T.img bs=

2012-01-09 22:45:01 1050

转载 【网摘】在Linux下编写Daemon

在Linux下编写Daemon转自:http://blog.163.com/prevBlogPerma.do?host=manyhappy163&srl=1644768312010718111142260&mode=prev在Linux(以Redhat Linux Enterprise Edition 5.3为例)下,有时需要编写Service。Service也是程序,一般随系

2012-01-09 22:31:46 454

转载 【网摘】如何编写Linux Daemon后台程序(守护进程)

守护进程(Daemon)是运行在后台的一种特殊进程。它独立于控制终端并且周期性地执行某种任务或等待处理某些发生的事件。守护进程是一种很有用的进 程。Linux的大多数服务器就是用守护进程实现的。比如,Internet服务器inetd,Web服务器httpd等。同时,守护进程完成许多系统任 务。比如,作业规划进程crond,打印进程lpd等。守护进程的编程本身并不复杂,复杂的是各种版本的Un

2012-01-09 22:29:38 284

转载 【网摘】json

JSON定义    JSON(JavaScript Object Notation) 是一种轻量级的数据交换格式,易于阅读和编写,同时也易于机器解析和生成。它基于ECMA262语言规范(1999-12第三版)中JavaScript编程语言的一个子集。 JSON采用与编程语言无关的文本格式,但是也使用了类C语言(包括C, C++, C#, Java, JavaScript, Perl, Py

2012-01-08 19:47:50 305

原创 【网摘】linux获取文件夹中的文件列表

opendir(); readdir(); closedir(); 这个三个函数足以,具体用法,看man,很简单。 ///////////////////////////////#include    #include  #include  int   main(int   argc,   char   *argv[]) { DIR   *d

2012-01-08 19:46:28 752

原创 Linux gcc 项目之持续集成

hudson是个好东西,开源工具。我是在Linux 上做c/c++开发的,在hudson上创建两个项目,一个用来编译工程,另外一个用来做覆盖率测试。每天build,实时看结果,有问题及时发现。这里涉及到很多问题,我会单独写文章一一介绍。我大致列一下大纲1. hudson环境搭建2.项目中会用到的工具以及插件安装3.工程创建4.覆盖率相关

2011-12-09 14:46:01 511

原创 pad和phone的整合产品草图

说明:1.整体上看,该产品是一个平板电脑内嵌一部手机2.平板电脑和手机可以单独工作3.手机单独使用时,只有最基础的打电话和发信息功能4.平板电脑单独使用时不能够通过sim卡上网,但可以通过wifi上网5.当手机内嵌到平板电脑里面时。手机使用平板的屏幕作为手机屏幕。6.当手机内嵌到平板电脑里面时。平板电脑增加了sim卡上网共功能

2011-12-09 13:39:23 312

原创 庆祝开通

以前在另外一个网站上写了一些技术文章,后来那个网站关闭了,我的博客也找不回来了,伤了我的心,后来就再没写过了。今天又有写的冲动了。这里正是开通一下。cheers!

2011-12-08 17:24:03 308

mysql主从备份和dz读写分离

mysql主从备份和dz读写分离

2012-02-02

mysqlref5.part08

mysqlref5.part08

2012-02-02

mysqlref5.part07

mysqlref5.part07

2012-02-02

mysqlref5.part06

mysqlref5.part06

2012-02-02

mysqlref5.part05

mysqlref5.part05

2012-02-02

mysqlref5.part04

mysqlref5.part04

2012-02-02

mysqlref5.part03

mysqlref5.part03

2012-02-02

mysqlref5.part02

mysqlref5.part02

2012-02-02

mysql-connector-c-6.0.2-linux-sles10-x86-64bit

mysql-connector-c-6.0.2-linux-sles10-x86-64bit

2012-02-02

MySQL-test-5.5.20-1.sles11.x86_64

MySQL-test-5.5.20-1.sles11.x86_64

2012-02-02

MySQL-shared-5.5.20-1.sles11.x86_64

MySQL-shared-5.5.20-1.sles11.x86_64

2012-02-01

MySQL-server-5.5.20-1.sles11.x86_64

MySQL-server-5.5.20-1.sles11.x86_64

2012-02-01

MySQL-embedded-5.5.20-1.sles11.x86_64

MySQL-embedded-5.5.20-1.sles11.x86_64

2012-02-01

MySQL-devel-5.5.20-1.sles11.x86_64.rpm

MySQL-devel-5.5.20-1.sles11.x86_64.rpm

2012-02-01

MySQL-client-5.5.20-1.sles11.x86_64

MySQL-client-5.5.20-1.sles11.x86_64

2012-02-01

mysqlref.part1

mysql 资料 第一部分

2012-02-01

Linux编程从入门到精通

一整套pdf,想学Linux C 开发,嵌入式开发,你找对了。你信不信我不知道,反正我信了

2012-01-14

office tricks

office 一些实用办公技巧,想提高自己写文档和excel,ppt能力的,可以参考一下

2012-01-12

mysql5.1 reference

The MySQL™ software delivers a very fast, multi-threaded, multi-user, and robust SQL (Structured Query Language) database server. MySQL Server is intended for mission-critical, heavy-load production systems as well as for embedding into mass-de-ployed software. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. MySQL is a trademark of Oracle Cor-poration and/or its affiliates, and shall not be used by Customer without Oracle's express written authorization. Other names may be trademarks of their respective owners.

2012-01-11

mysql5参考手册

The MySQL (R) software delivers a very fast, multi-threaded, multi-user, and robust SQL (Structured Query Language) database server. MySQL Server is intended for mission-critical, heavy-load production systems as well as for embedding into mass-deployed software. MySQL is a trademark of MySQL AB. The MySQL software is Dual Licensed. Users can choose to use the MySQL software as an Open Source/Free Software product under the terms of the GNU General Public License (http://www.fsf.org/licenses/) or can purchase a standard commercial license from MySQL AB. See section 1.4 MySQL Support and Licensing. The MySQL Web site (http://www.mysql.com/) provides the latest information about the MySQL software. The following list describes some sections of particular interest in this manual: For information about the company behind the MySQL Database Server, see section 1.3 Overview of MySQL AB. For a discussion about the capabilities of the MySQL Database Server, see section 1.2.2 The Main Features of MySQL. For installation instructions, see section 2 Installing MySQL. For tips on porting the MySQL Database Software to new architectures or operating systems, see section D Porting to Other Systems. For information about upgrading from a Version 4.0 release, see section 2.5.2 Upgrading from Version 4.0 to 4.1. For information about upgrading from a Version 3.23 release, see section 2.5.3 Upgrading from Version 3.23 to 4.0. For information about upgrading from a Version 3.22 release, see section 2.5.4 Upgrading from Version 3.22 to 3.23. For a tutorial introduction to the MySQL Database Server, see section 3 MySQL Tutorial. For examples of SQL and benchmarking information, see the benchmarking directory (`sql-bench' in the distribution). For a history of new features and bugfixes, see section C MySQL Change History. For a list of currently known bugs and misfeatures, see section 1.8.7 Known Errors and Design Deficiencies in MySQL. For future plans, see section 1.6 MySQL and the Future (the TODO). For a list of all the contributors to this project, see section B Credits.

2012-01-11

linux应用开发详解

很好的linux c 开发教程

2012-01-08

linux kernel 2.6 c api

免分,只为共享

2012-01-08

linux c api

免分,只为共享

2012-01-08

linux shell script cook book

UNIX-like systems are amazing operating system designs. Even after many decades, the UNIX-style architecture for operating systems serves as one of the best designs. One of the most important features of this architecture is the command-line interface or the shell. The shell environment helps users to interact with and access core functions of the operating system. The term scripting is more relevant in this context. Scripting is usually supported by interpreter-based programming languages. Shell scripts are files in which we write a sequence of commands that we need to perform. And the script file is executed using the shell utility.

2012-01-08

linux shell scripting

linux shell scripting document, English version.

2012-01-08

Design+Patterns_+Elements+Of+Reusable+Object-Oriented+Software.pdf

Elements+Of+Reusable+Object-Oriented+Software 高清,pdf版本,下载不后悔

2011-09-16

iptables 学习笔记

iptables 学习笔记,iptables 思维导图,有需要的拿去

2018-11-22

Boost程序库开发的94个秘笈完整版

Boost程序库开发的94个秘笈完整版 Boost程序库开发的94个秘笈完整版

2016-03-29

cmake 入门教程

cmakelist 入门教程,通俗易懂,以习题的方式介绍。

2015-09-19

SecureCRT 完美汉化注册版 支持WIN8

SecureCRT 完美汉化注册版 支持WIN8

2013-11-14

android设备驱动步骤实例

很好的学习文档,学android移植的朋友,值得看一看。

2013-02-04

automake source code

automake source code automake source code automake source code automake source code

2012-05-09

autoconfig

linux autoconfig source code

2012-05-09

GVim7.3 及其他 gadget

GVIM7.3版本工具以及相应配置设置,还有其他的一些非常实用的gadget

2012-03-19

ftp client source code

ftp 客户端源代码

2012-03-10

md5算法实现

md5算法的c语言实现的例子

2012-03-04

自己编写的关于json中提取某个key的值的代码

昨天晚上写的c代码,功能是提取一个json对象中的某个key的value

2012-02-26

linux ftp 代码

linux 上 c语言实现ftp服务的源代码

2012-02-09

EA文档一箩筐

Enterprise_Architect_UML指南 Enterprise_Architect_中文经典教程 Enterprise+Architect+7.0入门教程 如何使用EA

2012-02-01

mysql 5.1 中文手册

mysql 5.1 中文手册

2012-01-30

空空如也

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

TA关注的人

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