自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

灰暗的日子

为学无他 争千秋勿争一日

  • 博客(5)
  • 资源 (14)
  • 收藏
  • 关注

转载 单链表的各种操作

<br /><br />/*单链表的各种操作*/<br /> <br /># define null 0<br /> <br />typedef char ElemType; /* 字符型数据*/<br /> <br />typedef struct LNode<br />{<br />ElemType data;<br />struct LNode *next;<br />};<br /><br />setnull(struct LNode **p);<br />int length (struct LN

2011-05-09 16:05:00 290

原创 How to input "EOF" signal in unix?

<br />In this simple program count.c,<br />#include<stdio.h>int main(int argc,char *argv[]){ int c,i; i=0; while((c=getchar()) != EOF ) { if(c=='/n') ++i; } printf("%d/n",i);}The terminal  shows

2011-05-05 15:07:00 433

原创 C语言预处理器

<br />文件中的#ifndef头件的中的#ifndef,这是一个很关键的东西。比如你有两个C文件,这两个C文件都include了同一个头文件。而编译时,这两个C文件要一同编译成一个可运行文件,于是问题来了,大量的声明冲突。还是把头文件的内容都放在#ifndef和#endif中吧。不管你的头文件会不会被多个文件引用,你都要加上这个。一般格式是这样的:#ifndef <标识> <br />#define <标识>...... <br />......#endif<标识>在理论上来说可以是自由命名的,但每个头

2011-05-05 14:42:00 286

原创 reboot shell script (the second edition)

reboottime=500if [ ! -e /etc/rc.d/rc.local ]; then              touch /etc/rc.d/after.localchmod +x /etc/rc.d/after.localrebootfile=after.localelserebootfile=rc.localfiif [ ! -e /usr/logreboot.log ]; thenecho "`pwd`/linux_reboot.sh" >> /etc/rc.d/$rebootfil

2010-09-01 08:37:00 455

转载 linux_reboot.sh 的shell脚本

#!/bin/shreboottime=500echo "'pwd'/linux_reboot.sh" >> /etc/rc.d/rc.localdate >> /usr/logreboot.log wc -l /usr/logreboot.log > /usr/logbak.logif grep "$reboottime" /usr/logbak.log > /dev/null 2>&1then echo "Reboot for $reboottime times sucessfully" >> /usr

2010-08-30 12:54:00 3839

27篇精选python文章

很好的python开发文章,培训班精选的。给大家分享。

2013-09-01

django1.5 开发文档

Django1.5 的官方文档,Django开发利器。

2013-03-26

Python语言入门

python学习的入门教程,打印版!!入门神器。

2012-08-16

opengl programming opengl reference(Blue book)

opengl官方蓝宝书,初学Opengl的官方圣经,希望对大家有所帮助。

2011-11-07

beginning linux program 2 second

linux program study.It's a very useful book for linux program beginner.and it's written by Richard Stones and Neil Matthew.

2011-08-05

abs-guide linux shell program

advanced linux shell program

2011-04-15

数学建模常用算法分析

数学建模最经典的算法程序,汇集了最常用的算法!

2009-09-14

matlab神经网络源程序

学习matlab,神经网络的最佳资料!最好的神经网络方面的源程序!

2009-09-14

proteus入门教程

学习protes的首选教程!电子设计自动化方向的必学软件!

2009-08-29

Bourne Shell及shell编程

Bourne Shell及shell编程,喜欢linux系统,喜欢shell编程,bash

2009-06-30

C语言嵌入式系统编程修炼之道

C语言嵌入式系统编程修炼之道,本书由浅入深详细介绍了C语言嵌入式系统编程的内容!

2009-06-30

空空如也

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

TA关注的人

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