码迷,mamicode.com
首页 >  
搜索关键字:using password: yes    ( 53562个结果
在一般处理程序中,把Form Post过来的表单集合转换成对象 ,仿 MVC post,反射原理
using System;using System.Collections.Generic;using System.Collections.Specialized;using System.Linq;using System.Reflection;using System.Web;using We...
分类:Web程序   时间:2014-05-18 19:06:49    阅读次数:451
刘昕鑫 C# 特性详解
C# 特性详解 特性(attribute)是被指定给某一声明的一则附加的声明性信息。 在C#中,有一个小的预定义特性集合。在学习如何建立我们自己的定制特性(custom attributes)之前,我们先来看看在我们的代码中如何使用预定义特性。 1 using System; 2 public c....
分类:其他好文   时间:2014-05-18 18:56:23    阅读次数:305
UVA 11270 Tiling Dominoes(插头DP)
题目链接:11270 - Tiling Dominoes 和POJ 2411一样的题目,试着用插头DP写了下 代码: #include #include #include using namespace std; int n, m, pre = 0, now = 1; long long dp[2][2222]; int main() { while (~scanf("%d%d",...
分类:其他好文   时间:2014-05-18 14:44:37    阅读次数:264
winform小程序------数字猜大小(经典线程和自动生成控件的小例子)
一:上图二:相关代码using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using Sys...
分类:编程语言   时间:2014-05-18 01:51:47    阅读次数:407
《转》Unity Android/IOS 多点触摸实例
Unity中获取到的坐标是左下角为(0,0)但是绘画的时候是以左上角为(0,0)所以直接在获取到的坐标上画图是不行的……using UnityEngine;using System.Collections;public class MultiTouch : MonoBehaviour { pub.....
分类:移动开发   时间:2014-05-18 01:16:59    阅读次数:325
顺序表 C++ 类模板实现
顺序表的C++语言描述基本运算的算法——置空表、求表的长度、取结点、定位运算、插入运算、删除运算、建立顺序表、输出顺序表#include using namespace std;#define OK 1#define ERROR 0template class Linklist{public: .....
分类:编程语言   时间:2014-05-18 01:12:51    阅读次数:404
<C++>CLR必须定义入口点
在VS2013中创建CLR空项目;在点击“项目”创建“Windows 窗体”;完成MyForm设计后,按F5运行跳出错误“必须定义入口点”。解决方案:在MyForm.cpp中,添加如下代码: 1 using namespace Project1; 2 3 [STAThreadAttribute] ....
分类:编程语言   时间:2014-05-18 00:30:43    阅读次数:732
C\C++ vector 构造函数 & 析构函数
#include #include using namespace std;class Obj{public: Obj(void){cout obj(10); vector obj2(10,0); return 0;}结果如下://执行了构造函数2次,20次复制构造函数,析构函数22次//我想提出的...
分类:编程语言   时间:2014-05-17 23:51:52    阅读次数:566
asp.net如何抓取其他网站的内容
1. 需要引用的类库using System.Net;using System.IO;using System.Text;using System.Text.RegularExpressions;2. 获取其他网站网页内容的关键代码WebRequest request = WebRequest.Cr...
分类:Web程序   时间:2014-05-17 22:34:49    阅读次数:423
C++ Basis
1.pre-defined function void funciton2.using programmer-defined function a.declaration-- in main() or above main() in global space b.definition -- just...
分类:编程语言   时间:2014-05-17 22:17:28    阅读次数:268
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!