public static Set> getClasses(ClassLoader classLoader, String pack) { Set> classes = new LinkedHashSet>(); boolean recursive = true; ...
分类:
其他好文 时间:
2014-08-12 16:51:34
阅读次数:
223
C/C++中有两种方式避免同一个文件被include多次,一种是#ifndef方式,一种是#pragma once方式。
方式一:
#ifndef __SOMEFILE_H__
#define __SOMEFILE_H__
... ... // 声明、定义语句
#endif
方式二:
#pragma once...
分类:
其他好文 时间:
2014-08-12 13:42:44
阅读次数:
162
平衡树总是有用的,set由于过度封装没有办法实现找比x小的元素有多少个,这就显得很不方便了,所以封装了个Treap,万一以后用的着呢- -0#pragma warning(disable:4996)#include #include #include #include #include #inclu...
分类:
其他好文 时间:
2014-08-12 00:36:53
阅读次数:
242
按以下布局放置好unity3d的各个组件,设置好渲染、位置、光源、大小等麦好的AI乐园博客所有内容是原创,如果转载请注明来源http://blog.csdn.net/myhaspl/编写下面代码:#pragma strictfunction Start () { this.Start();}function Update () { this.transform.Rotate(1,1,-1)...
分类:
其他好文 时间:
2014-08-11 17:47:52
阅读次数:
241
套了个EK的模板//#pragma comment(linker, "/STACK:16777216") //for c++ Compiler#include #include #include #include #include #include #include #include #includ...
分类:
其他好文 时间:
2014-08-11 17:21:02
阅读次数:
189
import osimport sysimport structdef enc(path, key): path_ret = "" for i in range(0, len(path)/4): path_ret += struct.pack(">> ===========...
分类:
编程语言 时间:
2014-08-11 11:27:22
阅读次数:
2362
SystemCenter2012R2POC部署之CloudServicesPack部署一、在SCSM上安装CloudServicesProcessPack1、在SCSM服务器管理器上运行CloudPack安装程序,选择CloudServicesProcessPack2、输入产品注册信息3、检查安装环境4、下一步,安装二、在SCO上安装CloudServicesRunbook1、在SCO服..
分类:
其他好文 时间:
2014-08-11 10:18:42
阅读次数:
201
这是一道5Y的题目有坑的地方我已在代码中注释好了 QAQPs:模拟题还是练的太少了,速度不够快诶//#pragma comment(linker, "/STACK:16777216") //for c++ Compiler#include #include #include #include #in...
分类:
其他好文 时间:
2014-08-10 15:38:10
阅读次数:
230
客户端
23UdpClient.cpp代码:
// 23UdpClient.cpp : 定义控制台应用程序的入口点。
//
#include "stdafx.h"
#include
//Windows套接字所需的头文件
#include
//Windows套接字接口的库文件
#pragma comment(lib, "WSOCK32.LIB")
//程序使用的WinSock主版...
分类:
其他好文 时间:
2014-08-09 21:29:39
阅读次数:
427
#include #include #include #pragma comment(lib,"Wininet.lib")#include using namespace std;int _tmain(int argc, _TCHAR* argv[]){ vector v; TCHAR ...
分类:
编程语言 时间:
2014-08-09 11:33:47
阅读次数:
229