码迷,mamicode.com
首页 >  
搜索关键字:using password: yes    ( 53562个结果
Winsock 示例
#include "stdafx.h"#include #include #pragma comment(lib,"ws2_32.lib")using namespace std;int main(int argc, char* argv[]){ WSADATA wsaData; int...
分类:Windows程序   时间:2014-05-21 19:01:01    阅读次数:476
hdu 1565
1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 #include 8 9 #define maxx 1<<2110 using namespace std;11 12 int mat[22][22],n,dp.....
分类:其他好文   时间:2014-05-21 19:00:25    阅读次数:197
.Net组件程序设计之对象生命周期
.Net组件程序设计之对象生命周期.NET 垃圾回收IDisposable()Using语句.NET 垃圾回收是CLR管理着垃圾回收器,垃圾回收器监控着托管堆,而我们使用的对象以及系统启动是所需要的一些必备的对象信息都存在于托管堆上,CLR会维护着一个列表(对象引用信息列表). 这个列表里存放的信息...
分类:Web程序   时间:2014-05-21 17:43:55    阅读次数:289
带复杂表头合并单元格的HtmlTable转换成DataTable并导出Excel(转)
步骤:一、前台JS取HtmlTable数据,根据设定的分隔符把数据拼接起来二、后台先把前台传过来的字符串转换成HtmlTable实体,然后再转换成DataTable实体using System;using System.Collections.Generic;using System.Text;us...
分类:Web程序   时间:2014-05-21 17:25:16    阅读次数:442
C# 实现快速闪电关机、快速重启
using System;using System.Runtime.InteropServices;namespace FastReboot{ static class Program { private delegate uint ZwShutdownSystem(int...
分类:其他好文   时间:2014-05-21 17:18:09    阅读次数:391
使用构造函数初始化成员数组
#include using namespace std; class Box//盒子类 { public: //定义一个构造函数用于初始化对象数组 Box(int h, int w, int l); int volume();//计算盒子的体积 private: int height;//盒子的高 int width;//盒子的宽 int length;//盒子的长 }; ...
分类:其他好文   时间:2014-05-21 17:09:16    阅读次数:212
poj1195 mobile phones 【二维树状数组】
一次AC 二维树状数组,有模版很好办 注意二维树状数组这个下标是[1][1]的 #include #include #include #include #include #include using namespace std; const int Max = 1030; int row, col, ar[Max][Max]; // 二维的其实下标为[1][1],这个要记得。 ...
分类:其他好文   时间:2014-05-21 16:23:34    阅读次数:271
13周 项目1 点,圆的关系
#include #include using namespace std; class Point { public: Point(double a,double b):x(a),y(b) {} double getx() { return x; } double gety() { ...
分类:其他好文   时间:2014-05-21 14:44:07    阅读次数:281
构造函数
构造函数:构造函数是一种特殊的成员函数 构造函数的特点: 1 构造函数的函数名和类名相同 2 构造函数没有返回值 3 构造函数用于初始化对象 通过一个实例说明构造函数的作用 #include using namespace std; class Time//时间类 { public: void set_time();//设置时间 void show_time();//...
分类:其他好文   时间:2014-05-21 14:38:17    阅读次数:263
单列范例
using UnityEngine;using System.Collections;public class wht : MonoBehaviour { static wht myInstance; public int x = 0; static int instances =...
分类:其他好文   时间:2014-05-21 11:51:43    阅读次数:207
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!