码迷,mamicode.com
首页 >  
搜索关键字:using    ( 53562个结果
排序--气泡排序
#include using namespace std; #define SIZE 21 typedef int Sqlist[SIZE]; void QipaoSort(Sqlist &L,int n) { int i,j; for(i = 1;i<n-1;++i) { for(j = 1;j L[j+1])...
分类:编程语言   时间:2015-06-18 13:35:48    阅读次数:130
visual studio 目录
可执行文件目录:搜索可执行文件时使用的路径。与环境变量PATH相对应。包含目录:搜索包含文件时使用的路径。与INCLUDE相对应;引用目录:搜索通过#Using引入的文件时使用的路径。与环境变量LIBPATH相对应;库目录:搜素库文件时使用的路径。与环境变量LIB相对应。pch 文件是预编译头相关文...
分类:其他好文   时间:2015-06-18 13:31:08    阅读次数:110
HttpRequest重写,解决资源战胜/链接超时/分块下载事件通知 问题。
using System;using System.Collections.Generic;using System.ComponentModel;using System.IO;using System.IO.Compression;using System.Linq;using System.N...
分类:Web程序   时间:2015-06-18 13:20:53    阅读次数:174
jqGrid添加详细按钮,单击弹出窗体
代码如下:@using WebMap.Framework.UI;@using WebMap.Admin.Models;@using WebMap.Core;@using WebMap.Core.Infrastructure;@{ ViewBag.Title = "贷款申请管理"; var...
分类:Windows程序   时间:2015-06-18 13:08:54    阅读次数:537
C++运算符重载为非成员函数
1 #include 2 using namespace std; 3 class Complex{ 4 public: 5 Complex(double r=0.0,double i=0.0):real(r),imag(i){} 6 friend Complex operator...
分类:编程语言   时间:2015-06-18 12:57:12    阅读次数:226
uiimage可以在线程里处理
t is true that apple recommends using elements from the UIKIt on the main thread:Note: For the most part, UIKit classes should be used only from an ap...
分类:编程语言   时间:2015-06-18 12:56:09    阅读次数:147
作用域内枚举(C++11)
//作用域内枚举 #include using namespace std; /* 下面这两种定义枚举的方式有错误,错误提示为枚举数sum重定义。 在C++11之前我们不能在类中定义两个枚举类型有相同的枚举数。这样会导致枚举数重定义的错误。 */ //class Test1 //{ //public: // enum {sum = 10}; // enum {sum = 20}; //...
分类:编程语言   时间:2015-06-18 11:37:04    阅读次数:141
UGUI 之 控件以及按钮的监听事件系统 存档
using UnityEngine;using System.Collections;using UnityEngine.UI;using UnityEngine.EventSystems;using UnityEngine.Events;public class UIMain : MonoBeha...
分类:其他好文   时间:2015-06-18 11:27:09    阅读次数:188
AutoMapper 自动映射工具
先引用对应的DLL.11.转换匿名对象 结合LINQ映射新的实体类.using System;using System.Collections.Generic;using System.Linq;using System.Text;using AutoMapper;using System.Data...
分类:移动开发   时间:2015-06-18 11:26:30    阅读次数:199
hdu 3534 树形dp ***
题意:统计一棵带权树上两点之间的最长距离以及最长距离的数目链接:点我首先统计出结点到叶子结点的最长距离和次长距离。然后找寻经过这个点的,在这个为根结点的子树中的最长路径个数目。 1 #include 2 #include 3 #include 4 #include 5 using ...
分类:其他好文   时间:2015-06-18 11:15:32    阅读次数:104
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!