自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

跑上岸晒太阳的鱼滴空间

黄花无主今自容,暗落疏篱曲径中;乞得金钱换脂粉,一生颜色逐西风.

  • 博客(7)
  • 资源 (2)
  • 收藏
  • 关注

原创 OpenGL制作简易地图(一)

1.随机生成一张地图,黑方块为禁区,白方块为活动区 2.随机在活动区找两个块,红方块为起点,蓝方块为终点。 3.生成该地图。 4.上CODE. //alex.shoal@gmail.com //latest update:2012-06-19 //sourse code location:..\CB_CODE\GL_TREE #include #include #include

2012-06-18 04:54:12 5734

原创 OpenGL 简单图形程序

1. Tool : codeblock 10.05 2.Code: #include #include #include #define PI 3.1415926535898 GLubyte fly[] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x80, 0x01, 0xC0, 0x06,

2012-06-18 03:06:59 2751

原创 OpenGL部分函数备注

1.glRect void glRectd ( GLdouble x1 , GLdouble y1 , GLdouble x2 , GLdouble y2 ); void glRectf ( GLfloat x1 , GLfloat y1 , GLfloat x2 , GLfloat y2 ); void glRecti ( GLint x1 ,

2012-06-18 02:27:31 767

原创 敢问路在何方

1.一个数组,只存储0,1,0表示可以通过,1表示障碍物,不能通过,求数组任意为0的位置到另一个为0的的位置的行走路径,行走方向为上下左右。 2.

2012-06-17 23:12:16 4449

原创 如何随机产生长整型

GCC中一些函数可以帮忙产生整型,不过都是int. 19.8.1 ISO C Random Number Functions This section describes the random number functions that are part of the ISO C standard. To use these facilities, you should includ

2012-06-17 21:43:10 1093

原创 比较冒泡排序和快速排序的性能

1.取十组随机数,每组共200000个数,分别用冒泡排序和快速排序法排序,分别记录所化时间。 2.程序 #include #include #include #include //#include FILE *fpt; //* file point of targe void exchange(int *a,int *b) { int t=*a; *a=*b;

2012-06-17 20:59:49 2728

转载 GCC得到系统时间的两种方法

源自:http://hi.baidu.com/wuming_onesky/blog/item/382eae0998bf75246a60fb6b.html #include   #include  void main()  {   time_t t;  t=time(NULL);  printf("%s\n",ctime(&t));     struct tm *n=localtim

2012-06-17 20:17:25 2655

basic use of pspice via ORCAD caputre

The purpose is to allow design students to learn to do simple analog simulations using PSpice as modified by Orcad and Cadence.

2011-07-30

Linux.Security.Cookbook.chm

The Linux Security Cookbook includes real solutions to a wide range of targeted problems, such as sending encrypted email within Emacs, restricting access to network services at particular times of day, firewalling a webserver, preventing IP spoofing, setting up key-based SSH authentication, and much more. With over 150 ready-to-use scripts and configuration files, this unique book helps administrators secure their systems without having to look up specific syntax.

2009-05-10

空空如也

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

TA关注的人

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