自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(9)
  • 资源 (5)
  • 收藏
  • 关注

转载 Tcl 运算符和数学函数

<br /> <br />Tcl 运算符和数学函数~/tcltk$ cat maths.tcl<br />#!/usr/bin/tclsh<br />#<br /># Demonstrate operators and<br /># math functions<br /><br />set PI [expr 2 * asin(1.0)]<br /><br />if {$argc == 3} {<br /> set X [lindex $argv 0]<br /> set

2011-05-18 11:51:00 3726

原创 exception handing (I)

<br />Exception handing in program can connect the unexpected events to higher exections context, it's able to recover from the abnormal events better.<br /> <br />C++ could specify whether or a function could throw exceptions too.void MyFunc() throw(...)

2011-01-31 15:36:00 400

转载 Proftp安装及配置(完整版)

<br />Proftp安装及配置(完整版)<br /> 一、软件下载<br />proftpd-1.3.1rc3.tar.bz2    1.5 M <br />proftpd-1.3.1rc3.tar.gz    2.0 M <br />官方网站:http://www.proftpd.org/<br />镜像站点:http://www.proftpd.de/<br />二、解压缩、编译安装<br /># 解压缩<br />[root@localhost /]# tar zvxf

2011-01-04 11:15:00 3481

原创 tcl/tk学习笔记(1)

<br /> <br />Spaces are not required around the square brackets used for command substitution. For the purposes of grouping, the interpreter considers everything between the square brackets as part of the current group. The following sets x to the concaten

2010-12-02 15:01:00 991

原创 set command will return the value of the argument( variable, actually )

<br />eg:<br /> <br />set var {the value of var}<br />=> the value of var<br />set name var<br />=> var<br />set name<br />=> var<br />set $name    ## here, the name will be replaced by "var", so <=> set $var  => the below result<br />=> the

2010-12-02 14:42:00 460

转载 implicit declaration of function '...' 的warning

用gcc编译c程序的时候 经常会出现implicit declaration of function '...' 的warning 1 没有把函数所在的c文件生成.o目标文件;2 在函数所在的c文件中声明了,但是没有在调用它的.h或.c文件中声明;3 其头文件都声明过了,所调用的函数的原型与所传的实参类型不匹配.

2010-11-05 13:29:00 690

转载 Linux C 编程内存泄露检测工具(二):memwatch

Memwatch简介<br />在三种检测工具当中,设置最简单的算是memwatch,和dmalloc一样,它能检测未释放的内存、同一段内存被释放多次、位址存取错误及不当使用未分配之内存区域。请往http://www.linkdata.se/sourcecode.html下载最新版本的Memwatch。安装及使用memwatch<br />很幸运地,memwatch根本是不需要安装的,因为它只是一组C程序代码,只要在你程序中加入memwatch.h,编译时加上-DMEMWATCH -DMW_STDIO及

2010-11-03 13:15:00 332

转载 Linux C 编程内存泄露检测工具(一):mtrace

前言所有使用动态内存分配(dynamic memory allocation)的程序都有机会遇上内存泄露(memory leakage)问题,在Linux里有三种常用工具来检测内存泄露的情況,包括:mtracedmallocmemwatch1. mtracemtrace是三款工具之中是最简单易用的,mtrace是一个C函數,在里声明及定义,函数原型为: void mtrace(void);其实mtrace是类似malloc_hook的malloc handler,只不过mtrace的handler

2010-11-03 13:14:00 356

转载 .vimrc 设置

<br />"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""<br />" 一般设定<br />"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""<br />" 设定默认解码<br />set fenc=utf-8<br />set fencs=utf-8,usc-bom,euc-jp,gb18030,gbk,g

2010-11-03 13:12:00 304

高质量编程C.pdf

高质量编程C.pdf 提高C程序的指导教程。

2008-11-20

数据结构与算法分析(英文C版).chm

数据结构与算法分析(英文C版).chm 英文版的。描述数据结构和算法的好书。

2008-11-20

AdvancedPerlProgramming.rar

AdvancedPerlProgramming.rar An advanced Perl Programming book.

2008-11-20

Perl 语言入门(四版).pdf

Perl 语言入门(四版).pdf 《Perl语言入门》也就是大家所称的“小骆驼书”,是启发程序设计人员关于Perl的奥秘之道的一

2008-11-20

空空如也

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

TA关注的人

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