自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

  • 博客(58)
  • 资源 (17)
  • 收藏
  • 关注

原创 斗地主游戏程序,服务器与客户端

Win32写的斗地主游戏服务器与客户端

2010-10-14 19:49:00 1042 1

原创 Ubuntu自带的PDF阅读器无法正确某些含中文的文件

Ubuntu自带有PDF文档阅读器Evince,它体积小,启动速度快,而且功能也比较全,是个很优秀的软件。但对于有些某些没有内嵌中文字体的文档,Evince通常不能正显示出中文。解决的办法当然有很多,如另外安装一个阅读器,如Adobe Reader for Linux,KPDF等,或许能解决这个问题。但问题的根本不是阅读器本身,而是系统缺少某些字体库和配置。evince后台是通过xpdf来进行字串

2008-11-07 15:07:00 650

转载 How To: Manual Network Configuration without the need for Network Manager

In setting up their wireless connection for the first time, Imdiscovering many individuals having problems connecting through NetworkManager or other GUI wireless connection tools. In fact my Netw

2008-11-05 13:45:00 1732

原创 解决: Ubuntu 8.04升级到8.10后,网络连接图标消失

使用Unbuntu的更新管理器自动升级到8.10后,发现任务栏中的网络图标不见了,而直接启动nm-applet会提示:** (nm-applet:7306): WARNING **:   applet_dbus_manager_start_service(): Could not acquire the NetworkManagerUserSettings service as it is alr

2008-11-04 17:04:00 2192

转载 人生八个经典问题

        问题一,   如果你家附近有一家餐厅,东西又贵又难吃,桌上还爬着蟑螂,你会因为它很近   很方便,就一而再、再而三地光临吗?   回答:你一定会说,这是什么烂问题,谁那么笨,花钱买罪受?      可同样的情况换个场合,自己或许就做类似的蠢事。   不少男女都曾经抱怨过他们的情人或配偶品性不端,三心二意,不负责任。明知在一起没   什么好的结果,怨恨已经比爱还多,但却“不知道为什么

2008-10-23 14:34:00 420

转载 避免C指针出错的细节

摘自《C++/C编程指南》-林锐--------------发生内存错误是件非常麻烦的事情。编译器不能自动发现这些错误,通常是在程序运行时才能捕捉到。而这些错误大多没有明显的症状,时隐时现,增加了改错的难度。有时用户怒气冲冲地把你找来,程序却没有发生任何问题,你一走,错误又发作了。 常见的内存错误及其对策如下: 内存分配未成功,却使用了它。编程新手常犯这种错误,因为他们没有意识到内存分配会

2008-09-28 11:34:00 511

转载 Re: Greg Kroah-Hartman认为Ubuntu对内核贡献几乎为零

发信站: 水木社区 (Mon Sep 22 21:57:02 2008)  Ubuntu根本就是个祸害开源社区发行版。资本家是“无利不起早”的。“新人用Ubuntu系列是最不明智的选择,因为很难利用到别人的经验。Ubuntu修改了太多东西造就了和其它发行版的不兼容。“Ubuntu通过大量散发免费光盘圈走很大一部分初级用户,这部分用户自行解决问题能力相对较差,当遇到问题而又因为系统和别人

2008-09-26 22:03:00 362

转载 Linux基金会: Solaris已穷途末路 Linux将取而代之

2008.09.25  来自:CNBETALinux基金会CEO吉姆·泽默林(JimZemlin)近日指出,Sun Solaris操作系统已是穷途末路,该市场的未来属于Linux和Windows. SunSolaris系统已有16年历史,一度备受企业用户青睐. 随着Linux系统的普及,Solaris似乎有些力不从心.但Sun始终认为,Solaris仍是一款具有重要地位的创新平台.但Lin

2008-09-25 16:31:00 290

转载 Building C/C++ libraries with Automake and Autoconf

Building C/C++ libraries with Automake and AutoconfContents Introduction. libtool Directory structure Installing headers Version numbers Making your library easy to u

2008-06-02 20:01:00 441

转载 Using C/C++ libraries with Automake and Autoconf

Using C/C++ libraries with Automake and AutoconfContents Introduction. CFLAGS and LIBS configure.ac Makefile.am Example Files Recommended ReadingIntroductionI

2008-06-02 19:57:00 550

转载 Learning the GNU development tools

Edition 11998-09-02Eleftherios Gkioulekas @shorttitlepage Learning the GNU development tools Copyright (C) 1998 Eleftherios Gkioulekas. All rights reserved. Permission is granted to

2008-06-02 14:36:00 1410

转载 李开复:21世纪最需要的7种人才

我们都知道21世纪最有价值的是人才,是什么人才呢,就是我今天要演讲的题目。我想我这个演讲有一个很大的假设就是21世纪需要的人才与20世纪、 19世纪有着很大的差别,因为21世纪有几个很重大的革命发生。在21世纪我们更多的工作是靠我们脑力的创造,是靠平等的竞争,已经没有国界的差别,世界 被铲为平地,任何一个国家的人都可以和另外一个国家的人合作或者竞争,而他们都可以接触到、使用到、共享到同样的信息。不

2008-05-20 18:23:00 389

原创 Compiling the GTK+ libraries

Compiling the GTK+ libraries Compiling the GTK+ Libraries — How to compile GTK+ itself   Bui

2008-05-19 20:59:00 590

转载 Building GTK apps for MS Windows on Linux

Contents Cross-compiler and binutils Win32 API GTK API for win32 GTK pkgconfig files Configuring and building sources for win32 DLL-building magic Simple makefile example GTK runtime files Message c

2008-05-19 18:55:00 551

原创 VIM 1.7 简明教程

VIM 1.7 简明教程前言1.  VIM 是一个文本编辑器,适用于代码编辑。它功能非常强大,这点我逐渐体会到了,但要说用户习惯或方便的话,就因人而异了。2.  本文是我从 Fedora Linux 8 下的 vimtutor 中学习的小结。如果你是使用 VIM 的新手,希望对你有所帮助;高手的话就不必浪费你的时间了。3.  VIM 的命令很多,一定要实际使用练习,只记命令是很容易忘记的。4. 

2008-05-19 11:37:00 863

转载 RPM 的介绍和应用

本文使用范围: 1、本文是对RPM管理的软件的说明,对通过file.tar.gz 或file.tar.bz2源码包用 make ;make install 安装的软件无效; 2、安装软件时,最好用各自发行版所提供的系统软件包管理工具,对于Fedora/Redhat 您可以参考如下文章;1)Fedora 系统管理软件包工具 system-config-packages,方便的添加和移除系统

2008-05-13 14:28:00 356

原创 My installation of Ubuntu Linux 8.04

It took me quite long time to download the latest version of Unbuntu CD image, that is 8.04, called Hardy Heron internally, from its Chinese homepage.It also took me  much time to setup the Ubuntu Li

2008-05-09 19:04:00 350

转载 useful Linux technicals

1更改telnet登录慢的问题:cd /etcvi resolv.conf将里面内容清空2更改root用户不能直接远程登录问题:cd /etccd pam.dvi login注释掉这行#auth       required    pam_securetty.so   //该行注释掉3 挂接USB移动硬盘将移动硬盘挂上. #df  查看Linux下硬盘盘符mount /dev/sda1 /mnt/

2008-05-09 19:02:00 383

原创 C#使用简单方法制作扫雷仿窗体控件

控件及示例源码    MineCtrl说明:    正在学习并使用C#。这周很闲,没什么工作可做,试着写个控件玩玩。    设计得很简单,开发得也很快,但没想到C#做出来的东西确实占内存,而且效率很慢,远比不上C/C++。    这里只做练习使用的,没有进一步做优化。如果真要优化,那改得东西就多了。规格:    public const int MINROW = 8;    public cons

2008-04-29 13:53:00 1107

原创 C#中读写INI简便方法

1. 首先添加命名空间using System.Runtime.InteropServices; 2. 声明使用的API#region 读写INI文件的API声明        ///         /// 添加GetPrivateProfileInt等6个API函数的声明以进行INI文件的读写        ///        [DllImport("kernel32")]        p

2008-04-03 11:51:00 505

原创 MJD & UTC

所使用的符号:MJD:   修正的儒略日期UTC:   世界协调时Y:     从1900年开始(例如:对于2003年,Y=103)M:     从1到12月D:     从1到31日WY:    从1900 年算起的星期数WN:    根据ISO 8601 规定的星期数WD:    从星期1到星期日(7)K,L,M′,W,Y′: 临时变量×:     乘法int:   取整,忽略了余数Mod 7

2008-03-14 11:59:00 3698

原创 C#线程的基本使用

1,线程的创建与启动using System;using System.Threading;class Test{    static void Main()     {        // To start a thread using a static thread procedure, use the        // class name and method name when y

2008-03-14 11:13:00 530

原创 MSDN: C#编程指南 02

$开发工具和语言 /Visual Studio文档/Visual C#/C#编程指南/对象、类和结构多态性概述当派生类从基类继承时,它会获得基类的所有方法、字段、属性和事件。若要更改基类的数据和行为,您有两种选择:可以使用新的派生成员替换基成员,或者可以重写虚拟的基成员。使用新的派生成员替换基类的成员需要使用 new 关键字。如果基类定义了一个方法、字段或属性,则 new 关键字

2008-01-05 16:22:00 442

原创 MSDN: C#编程指南 01

$开发工具和语言 /Visual Studio文档/Visual C#/C#编程指南/对象、类和结构1. 对象对象具有以下特点: C# 中使用的全都是对象,包括 Windows 窗体和控件。 对象是实例化的;也就是说,对象是从类和结构所定义的模板中创建的。 对象使用属性(C# 编程指南)获取和更改它

2008-01-05 16:17:00 468

转载 几个有关C++的题目

发信人: NetMD (C++ is nothing), 信区: CPlusPlus标  题: 我来出几道C++笔试题,大家仔细想想看发信站: 水木社区 (Sun Oct 22 14:46:01 2006), 站内想了很久才想出这几道题,都是为了说明某些可能碰到的乍一看似乎很合理但是实际上却很灵异的问题,大家仔细想想看,希望能够吸取某些教训在开发中以避免这类问题:)也欢迎其它朋友出题!1。在目前的

2007-08-27 13:37:00 591

转载 Perl regular expressions tutorial - 16 (Pragmas and debugging)

Speaking of debugging, there are several pragmas available to control and debug regexps in Perl. We have already encountered one pragma in the previous section, use re taint; $tainted =

2007-08-20 16:24:00 421

转载 Perl regular expressions tutorial - 15 (A bit of magic: executing Perl code in a regular expression)

Normally, regexps are a part of Perl expressions. Code evaluation  expressions turn that around by allowing arbitrary Perl code to be a part of a regexp. A code evaluation expression is denoted (?{co

2007-08-20 16:23:00 475

转载 Perl regular expressions tutorial - 14 (Conditional expressions)

A conditional expression  is a form of if-then-else statement that allows one to choose which patterns are to be matched, based on some condition. There are two types of conditional expression: (?(co

2007-08-20 16:22:00 462

转载 Perl regular expressions tutorial - 13 (Using independent subexpressions to prevent backtracking)

The last few extended patterns in this tutorial are experimental as of 5.6.0. Play with them, use them in some code, but dont rely on them just yet for production code.Independent subexpressions 

2007-08-20 16:21:00 439

转载 Perl regular expressions tutorial - 12 (Looking ahead and looking behind)

This section concerns the lookahead and lookbehind assertions. First, a little background.In Perl regular expressions, most regexp elements eat up a certain amount of string when they match. For

2007-08-20 16:20:00 429

转载 Perl regular expressions tutorial - 11 (Non-capturing groupings)

We noted in Part 1 that groupings () had two distinct functions: 1) group regexp elements together as a single unit, and 2) extract, or capture, substrings that matched the regexp in the grouping. N

2007-08-20 16:18:00 423

转载 Perl regular expressions tutorial - 10 (Embedding comments and modifiers in a regular expression)

Starting with this section, we will be discussing Perls set of extended patterns. These are extensions to the traditional regular expression syntax that provide powerful new tools for pattern matchi

2007-08-20 16:17:00 473

转载 Perl regular expressions tutorial - 9 (Compiling and saving regular expressions)

Previously, we discussed the //o modifier, which compiles a regexp just once. This suggests that a compiled regexp is some data structure that can be stored once and used again and again. The regex

2007-08-20 16:15:00 379

转载 Perl regular expressions tutorial - 8 (More on characters, strings, and character classes)

There are a number of escape sequences and character classes that we havent covered yet.There are several escape sequences that convert characters or strings between upper and lower case. /l and

2007-08-20 16:12:00 790

转载 Perl regular expressions tutorial - 7 (Using regular expressions in Perl)

The last topic of Part 1 briefly covers how regexps are used in Perl programs. Where do they fit into Perl syntax?We have already introduced the matching operator in its default /regexp/ and arbit

2007-08-20 16:07:00 433

转载 Perl regular expressions tutorial - 6 (Building a regexp)

At this point, we have all the basic regexp concepts covered, so lets give a more involved example of a regular expression. We will build a regexp that matches numbers.The first task in building a

2007-08-20 16:06:00 368

转载 Perl regular expressions tutorial - 5 (Matching repetitions)

The examples in the previous section display an annoying weakness. We were only matching 3-letter words, or syllables of 4 letters or less. Wed like to be able to match words or syllables of any le

2007-08-20 16:02:00 422

转载 Perl regular expressions tutorial - 4 (Extracting matches)

The grouping metacharacters () also serve another completely different function: they allow the extraction of the parts of a string that matched. This is very useful to find out what matched and for

2007-08-20 15:59:00 363

转载 Perl regular expressions tutorial - 3 (Matching this or that)

Sometimes we would like to our regexp to be able to match different possible words or character strings. This is accomplished by using the alternation metacharacter |. To match dog or cat , we form

2007-08-20 15:57:00 390

转载 Perl regular expressions tutorial - 2 (Using character classes)

Although one can already do quite a lot with the literal string regexps above, weve only scratched the surface of regular expression technology. In this and subsequent sections we will introduce reg

2007-08-20 15:56:00 434

Win32 C/C++编写的斗地主游戏程序源码

Win32 C/C++编写的斗地主游戏程序源码,包括服务器与客户端程序,VS2005开发。 支持服务器定制(添加、删除、编辑所选服务器参数), 支持游戏大厅功能,支持常规的斗地主游戏及旁观功能,支持基本聊天功能。

2010-10-14

Linux autotools 讲稿

PPT讲稿<br><br>质量不错的PDF文档<br>

2008-06-06

GNU automake

关于Automake的质量不错的教学或参考手册

2008-06-06

FreeBSD 使用手册

权威而全面的FreeBSD手册<br><br>质量不错的PDF文档

2008-06-06

GTK+ 2.0 中文教程

GTK+ 2.0 中文教程<br><br>CHM格式

2008-06-06

GTK+ 2.0 Tutorial

GTK+ 2.0 Tutorial.pdf<br><br>Original version. (EN)

2008-06-06

Writing Clean Code.pdf

编程精粹<br> Microsoft 编写优质无错C 程序秘诀<br>Writing Clean Code<br> Microsoft Techniques for Developing Bug-free C<br>Programs<br>Steve Maguire 著<br>姜静波 佟金荣 译<br>麦中凡 校<br>电子工业出版社

2008-06-06

LINUX编程白皮书 (上)

本书对Linux操作系统及其编程作了整体的介绍,以支持用于开发软件的公开源码模型。对内存管理、进程及其通信机制、PCI、内核模块编程及内核系统结构作了详细的解释,且附有很多程序代码实例。对深入研究Linux下的编程有很大的帮助。

2008-05-20

LINUX系统分析与高级编程技术

本书介绍Linux环境下的编程方法,内容包括Linux系统命令、 Shell脚本、编程语言(gawk、Perl)、系统内核、安全体系、X Window等,内容丰富、论述全面,涵盖了Linux系统的方方面面。本书附带光盘包括了RedHat Linux系统的最新版本,及安装方法,还包括本书的大量程序代码,极大地方便了读者,为使用和将要使用Linux系统的技术人员提供了较全面的参考。 <br> <br> <br>

2008-05-20

linux应用程序开发指南 使用gtk+ gnome库

本书介绍了Linux下图形用户接口(GUI)编程技术。全书共18章,分五个部分。第一部分介绍Linux GUI编程架构以及编程基础知识,第二部分介绍Linux 编程常用C语言函数库glibc、构件库Gtk+、Gnome,第三部分介绍Linux下的GUI生成器Glade,第四部分介绍Linux编程调试工具gdb及xxgdb。第五部分包括三个附录,附录A是书中使用的示例GnomeHello的源代码,附录B介绍了一些与Gtk+/Gnome编程相关的在线资源,附录C是Gtk+/Gnome对象的简要介绍。本书中的Gtk+构件示例都来自于GTK 1.2.3软件包的示例。如果下载并安装了GTK 1.2.3软件包,则能够在展开的源代码目录下找到这些示例代码。本书适用于有Linux使用经验及C语言编程基础的读者阅读。 <br>

2008-05-20

LINUX与UNIX SHELL编程指南 (下)

本书共分五部分,详细介绍了shell编程技巧,各种UNIX命令及语法,还涉及了UNIX下的文字处理以及少量的系统管理问题。本书内容全面、文字简洁流畅,适合Shell编程人员学习、参考。 <br>

2008-05-20

LINUX与UNIX SHELL编程指南 (上)

本书共分五部分,详细介绍了shell编程技巧,各种UNIX命令及语法,还涉及了UNIX下的文字处理以及少量的系统管理问题。本书内容全面、文字简洁流畅,适合Shell编程人员学习、参考。 <br>

2008-05-20

Nucleus Plus 源码分析与参考手册

有关Nucleus OS的质量很好的PDF文档,包括参考手册、源码分析、Ref、Inside

2008-04-29

Windows Mobile应用开发 源代码

《Windows Mobile应用开发》源代码

2008-04-29

Windows Mobile Device Emulator v1.0 Share Source

Windows Mobile 设备仿真器1.0源码

2008-04-29

C#扫雷控件

C#简单制作扫雷窗体控件。

2008-04-28

空空如也

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

TA关注的人

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