摘要: #include<stdio.h>#include<stdlib.h> #define MAXLen 100 //最大节点数typedef char DATA;//元素类型typedef struct CBT{ DATA data; struct CBT *left;//左子树节点指针 struct CBT *right;//右子树节点指针}CBTType; CBTType *InitTree... 阅读全文
posted @ 2011-11-15 14:41 朱旭东 阅读(346) 评论(0) 推荐(0) 编辑
摘要: #include<stdio.h>#include<stdlib.h>#include<string.h> #define QUEUELEN 15 typedef struct{ char name[10]; int age;}DATA; typedef struct{ DATA data[QUEUELEN]; int head; int tail;}SQType; SQType *SQTyp... 阅读全文
posted @ 2011-11-15 10:56 朱旭东 阅读(245) 评论(0) 推荐(0) 编辑
摘要: #include <stdlib.h>#include <stdio.h> #define MAXLEN 50 typedef struct{ char name[10]; int age;}DATA; typedef struct stack{ DATA data[MAXLEN+1]; int top;}StackType; StackType *STInit(){ StackType *p... 阅读全文
posted @ 2011-11-14 16:56 朱旭东 阅读(186) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h>#include <string.h>#include <stdlib.h> typedef struct{ char key[10]; char name[20]; int age;}Data; typedef struct Node //定义链表结构{ Data nodeData; struct Node *nextNode;}CLType; CLTyp... 阅读全文
posted @ 2011-11-14 15:09 朱旭东 阅读(348) 评论(0) 推荐(0) 编辑
摘要: 本系列日志为操作练习代码,参考书《C/C++常用算法手册 》。 //顺序表 Sequential List#include<stdio.h>#include<string.h>#define MAXLEN 100 //定义顺序表的最大长度 typedef struct //定义节点类型{ char key[10]; //节点的关键字 char name[20]; int age;}DATA; ... 阅读全文
posted @ 2011-11-14 10:36 朱旭东 阅读(1543) 评论(0) 推荐(0) 编辑
摘要: java继承中对构造函数是不继承的,只是调用(隐式或显式)。以下是例子:public class FatherClass {public FatherClass() { System.out.println(100);}public FatherClass(int age) { System.out.println(age);}}public class SonClass extends FatherClass{ public SonClass() { }public SonClass(int c) { System.out.println(1234); } public static voi 阅读全文
posted @ 2011-09-09 09:51 朱旭东 阅读(15784) 评论(2) 推荐(7) 编辑
摘要: OpenGL ES Tutorial for Android– Part II'm going to write a couple of tutorials on using OpenGL ES on Android phones. The theory of OpenGL ES is the same on different devices so it should be quite easy to convert them to another platform.I can't always remember where I found particular info s 阅读全文
posted @ 2011-07-20 21:34 朱旭东 阅读(24013) 评论(3) 推荐(3) 编辑
摘要: 开始Android 3D 游戏开发教程– Part I-VI本帖最后由 huzht 于 2010-4-25 07:58 编辑 这几篇Android 3D游戏开发的文章原文出自一位德国人Martin 在droidnova.com写的文章,有lixinso翻译为中文。第一部分首先介绍OpenGL相关的术语,并引导你开始3D开发的第一步。这个关于3D游戏的系列的叫做 Vortex .这个教程主要focus在3D编程上,其他的东西比如菜单和程序生命周期虽然是代码的一部分,但是在这里不会被提到。首先开始介绍OpenGL的术语。 顶点Vertex 顶点是3D空间中的一个点,也是许多对象的基础元素。在Ope 阅读全文
posted @ 2011-07-20 21:28 朱旭东 阅读(3065) 评论(0) 推荐(1) 编辑
摘要: VIPS:基于视觉的Web页面分页算法1.问题的提出目前,随着互联网的高速发展,Web已经成为这个世界上最大的信息来源。Web 作为信息技术的载体已成为人们重要的工作、学习、生活、娱乐工具。Web的发展给人类生活带来了巨大的方便,人们可以跨越时间和空间界限来共享大量信息。 但是如何去获取这些Web信息为我们所用则是大家面临的共同问题。在最基本的层次上,整个Web网络就是由无数的Web页面而构成,因此如果获取了这些 Web页面就相当于获取了Web信息内容。事实上,目前的很多Web信息获取技术都是基于这种理论。但是把整个页面作为一个基本的信息获取单位并不是太合理,尽管用户通常会把一些相关的内容放在 阅读全文
posted @ 2011-07-19 15:58 朱旭东 阅读(2089) 评论(0) 推荐(0) 编辑