码迷,mamicode.com
首页 >  
搜索关键字:struct enum    ( 22969个结果
WizardPageType
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
WizardStepType
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
C#:字段与属性
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
【HDOJ】2425 Hiking Trip
优先级队列+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
C/C+小记
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
C# in Depth Third Edition 学习笔记-- 值类型和引用
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
POJ训练计划2418_Hardwood Species(Trie树)
解题报告 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
北大ACM暑期培训课程目录(四)
本文出自:http://blog.csdn.net/svitter Computational Geometry 计算几何     ACM中基本是最麻烦的部分。     几何代码都要自己写,STL中也没有。基本上。     struct point     数乘,差乘,计算几何题目抄。一个数字由于误差积累造成大。     避免误差。     注意:        ...
分类:其他好文   时间:2014-07-23 20:59:58    阅读次数:164
ZOJ1093 Monkey and Banana 【DP】
一、题目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
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!