自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

ljd_1881的专栏

子曰:己所不慾勿施于人

  • 博客(16)
  • 收藏
  • 关注

原创 为什么你应当为你的开源项目选择BSD协议?

为什么你应当为你的开源项目选择BSD协议?Bruce Montague    来源:1、入门    本文档论述了你应当使用BSD协议分发软件与数据的原因,尤其是建议使用BSD协议代替GPL协议,亦可视为BSD与GPL这两个开源协议对比的入门与概要。2、开源简史    在“开源”这个词诞生很久以前,软件是由程序员这个松散联合体开发,并且自由交换的。自1950年代开始,SHARE和DECUS诸公司开发

2006-12-29 23:08:00 1116

转载 关于女权

关于女权夢也無聲http://blog.sina.com.cn/u/1463651920#sort_2 80年代末,大陆上流行过一本美国小有名气的女权主义作家写的书,总结女权运动几十年的得与失,书名叫什么早已忘记了,书中也没有更多感人至深的情节,到现在我仍记得很清楚的只有女主角的一句话,这句话当时就给了我很多启发,所以印象极为深刻。 大半生致力于女性解放的女主角,在某个烦闷的早晨

2006-12-16 23:50:00 690

原创 Exception handler interface ' implementation

#include#include#include#include"except.h"#define T Except_TExcept_Frame * Except_stack = NULL;void Except_raise(const T *e,const char * file,int line){    Except_Frame *p = Except_stack;             

2006-11-28 18:23:00 691

原创 Exception handler interface

#ifndef EXCEPT_H#define EXCEPT_H#include#define T Except_T typedef struct T{    char * reason;} T;typedef struct Except_Frame Except_Frame;struct Except_Frame{    Except_Frame * prev;    jmp_buf env; 

2006-11-28 18:21:00 615

原创 A memery management interface---Source code_test.c

/*    written by ljd_1881**/#include#include "mem.h"int main(){    char *p;    int i;    Mem_init(NULL);    p = (char *)ALLOC(5);            for(i=0;i        p[i] = 49+i;    p[i] = /0;    printf("%s

2006-11-28 18:19:00 672

原创 A memery management interface---Source code_except.c

/* *checking implementation of mem interface * */#include#include#include#include#include "except.h"#include "mem.h"#define hash(p,t) (((unsigned long)(p)>>3)%( sizeof(t)/sizeof((t)[0])-1 ) )#define N

2006-11-28 18:17:00 705

原创 A memery management interface---Source code_except.h

#ifndef MEM_INCLUDE#define MEM_INCLUDE#include "except.h"extern Except_T Mem_failed; extern void * Mem_alloc(long nbytes,const char * file,int line);    // not initionlized  !extern void * Mem_calloc(

2006-11-28 18:16:00 727

原创 A memery management interface---Readme

A memery management interface---Readme1    Execept.h except.c are the source files that describe and implement the exception handler used by "c interface and implementation".The exception has much rel

2006-11-28 18:13:00 719

原创 搭建FreeBSD开发环境

    搭建FreeBSD开发环境        下面以我本人搭建FreebSD开发环境为例,说一下FreeBSD上开发环境的搭建。如果你使用RedHat,Debrian,Gento..等linux的发行版,我这篇文章也有一定参考意义。    1、装操作系统。    这个不用说了吧?网上的文章满天飞,随便拿个你熟悉的搜索引擎一搜,讲怎样安装FreeBSD的看都看不过来。有一点,我还是建议一下,你要

2006-11-27 22:53:00 5139

原创 常见”软件类别“趣谈

常见”软件类别“简介   人以类聚,物以群分,老祖宗的话就是有道理。其实软件也是一样,我辈整日得跟软件打交道,免不了接触各种类别的软件。今天小弟献丑,落说一二:   1、商业软件  典型软件:微软windows  这个不用说了,大家都是靠这个吃饭的。没了这玩意儿,我辈不得死阿。2、共享软件  典型软件:UltraEdit  其实这个还是商业软件,只是销售方式于普通的盒装软件不一样,共享软件是“先试

2006-11-16 23:30:00 972

原创 Binary Search

/*     binary search     when an array is ordered ,we cna use binary_search to check whether  an element in the array   Author :ljd*/#includeint binary_search(int a[],int x,int len);  //len is the len

2006-11-15 16:10:00 677

原创 使用栈的表达式计算程序.arith_expr.c

#include#include "arith_expr.h"#include#include#include#ifndef True #define True 1#define False 0#endif#define NS_LEN 100#define OS_LEN 100struct ns{    struct NUM nums[NS_LEN];    int top;};struct os

2006-11-14 11:38:00 786

原创 使用栈的表达式计算程序_arith_expr.h__

/***************************************************    interface file for arithmatic_expression     author:ljd****************************************************/#ifndef ARITH_EXPR_H_#define ARITH_E

2006-11-14 11:37:00 600

原创 使用栈的表达式计算程序_main.c

#include#include "arith_expr.h"//char * str = "2+3*4+6";//char * str = "2+3+6";//char * str = "2.1+3+6";//char * str = "2.1+3.0*2";//char * str = "(2+3.1)*4";char * str = "2+(3.1-(4-6))";struct NUM *

2006-11-14 11:35:00 843

原创 使用栈的表达式计算程序_Makefile

t:main.c  arith_expr.h arith_expr.c    gcc -o t ./main.c arith_expr.c 

2006-11-14 11:34:00 665

翻译 *BSD迷思

                                   *BSD迷思英文网址:http://www.freebsd.org/advocacy/myths.html原作者:Rhodes 原文出自FreeBSD官方网站。目录一 、*BSD 项目采用封闭模式进行开发二、你不能只做你自己的发行版或者从*BSD派生出一些工作三、*BSD可以作为一个很棒的服务器,但是是拙劣的桌面四、*BSD的c

2006-11-13 18:50:00 1087

空空如也

空空如也

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

TA关注的人

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