1 #include 2 #include 3 using namespace std; 4
const int Max = 100000; 5 int num[Max]; 6 int find_[Max]; 7 bool found[Max]; 8
int pos[Max] = { 9 ...
分类:
其他好文 时间:
2014-06-07 03:49:29
阅读次数:
250
#include using namespace std;int main(){#if 1
int num = 12345; char str[25];//不要写成char*,因为没有分配空间 itoa(num, str, 10);//10进制字符串
printf("num ...
分类:
其他好文 时间:
2014-06-07 03:32:09
阅读次数:
215
#include #include using namespace std;int
main(){ int pid = GetCurrentProcessId(); auto path =
Plug::GetCurrentPath();//返回std::wstring path +...
分类:
其他好文 时间:
2014-06-07 03:08:40
阅读次数:
288
2.1 Visual Studio 2005开发环境2.2 控制台应用程序
试试看:创建一个简单的控制台应用程序using System;using System.Collections.Generic;using
System.Linq;using System.Text;namespace C....
分类:
其他好文 时间:
2014-06-07 03:00:19
阅读次数:
241
#include #include #include #include using
namespace std;int main(){
//boost::interprocess::shared_memory_object类是按照单个字节的方式读写共享内存,用起来不方便 boost::i...
分类:
其他好文 时间:
2014-05-30 12:56:14
阅读次数:
225
第一步 导包在Assets新建一个Editor目录新建一个Test类using
UnityEngine;using System.Collections;using UnityEditor; public class Test :
Editor{ //打包单个 [MenuItem("Cu...
分类:
其他好文 时间:
2014-05-30 09:34:25
阅读次数:
500
NET将关于多线程的功能定义在System.Threading名字空间中。因此,要使用多线程,必须先声明引用此名字空间(using
System.Threading;)。a.启动线程顾名思义,“启动线程”就是新建并启动一个线程的意思,如下代码可实现:Thread thread1 = new
Thre...
分类:
编程语言 时间:
2014-05-30 07:21:03
阅读次数:
281
using System;using System.Collections.Generic;using
System.Diagnostics;using System.Runtime.InteropServices;using System.Text;using
System.Windows;usi...
AjaxPro.2.dllcs 代码using
AjaxPro;Utility.RegisterTypeForAjax(typeof(BOMdr_KT));[Ajax.AjaxMethod()]public
string GetAddress(string UserID){ string Addre...
分类:
Web程序 时间:
2014-05-29 09:28:09
阅读次数:
206
原文地址:http://blog.csdn.net/kissliux/article/details/17392003Tomcat
6版本配置SSL过程有两步:1、用JDK自带的keytool.exe来生成私有密钥和自签发的证书,如下:keytool -genkey -keyalg RSA
-ali...
分类:
其他好文 时间:
2014-05-29 09:19:56
阅读次数:
391