using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace WindowsFormsApplication3.Enums{ public enum WizardPageT...
分类:
其他好文 时间:
2014-07-24 05:03:48
阅读次数:
267
using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace WindowsFormsApplication3.Enums{ public enum WizardStepT...
分类:
其他好文 时间:
2014-07-24 05:02:38
阅读次数:
207
MSDN中是这么介绍字段和属性的:A field is a variable of any type that is declared directly in a class or struct.字段:“字段”是直接在类或结构中声明的任何类型的变量。A property is a member th...
分类:
其他好文 时间:
2014-07-24 04:58:08
阅读次数:
290
优先级队列+BFS。 1 #include 2 #include 3 #include 4 #include 5 using namespace std; 6 7 #define MAXN 25 8 9 typedef struct node_st {10 int x, y, t...
分类:
其他好文 时间:
2014-07-24 00:48:07
阅读次数:
243
1、struct与typedef struct struct Student{int a;int b}stu1; //定义名为Student的结构体,及一个Student变量stu1 struct {int a;int b;}stu1; //只定义了一个结构体变量stu1,未定义结构...
分类:
其他好文 时间:
2014-07-23 22:30:27
阅读次数:
210
I. C#中值类型和引用类型1. 类class 引用类型,结构struct值类型2. 数组是引用类型,即使元素是值类型,int[]是引用类型3. 枚举是值类型enum4. 委托类型delegate是引用类型5. 接口类型interface是引用类型,但可以由值类型实现。II. 值的表达式:表达式“2...
分类:
其他好文 时间:
2014-07-23 22:12:37
阅读次数:
265
线性表的链式存储结构——链表,包括单链表、双链表、循环链表等。单链表的结点由数据元素和指向下一个结点的指针构成,是最简单的一种链表结构。
对单链表的操作很多,如查找、插入、删除、逆置、打印等,现对这些操作的实现做一个小结,代码用C语言实现。
#include
#include
typedef struct LNode
{
char data;
struct LNode *...
分类:
其他好文 时间:
2014-07-23 21:01:37
阅读次数:
286
解题报告
Tire树。
#include
#include
#include
#include
using namespace std;
struct node
{
int v;
node *next[256];
};
int cnt=0,q;
char ch[100],str1[100];
node *newnode()
{
node *p=new node;...
分类:
其他好文 时间:
2014-07-23 21:00:15
阅读次数:
250
本文出自:http://blog.csdn.net/svitter
Computational Geometry
计算几何
ACM中基本是最麻烦的部分。
几何代码都要自己写,STL中也没有。基本上。
struct point
数乘,差乘,计算几何题目抄。一个数字由于误差积累造成大。
避免误差。
注意:
...
分类:
其他好文 时间:
2014-07-23 20:59:58
阅读次数:
164
一、题目ZOJ 1093二、题目源程序#include //一个箱子有3种h..所以总共有3*n种高度.按面积从大到小排序#include struct block{ int x,y,z,h;}a[200];int cmp(const void *a,const void *b)//快排,模版{ r...
分类:
其他好文 时间:
2014-07-23 16:55:21
阅读次数:
198