链接:http://poj.org/problem?id=2421 或 http://acm.hdu.edu.cn/showproblem.php?pid=1102
Problem Description
There are N villages, which are numbered from 1 to N, and you should build some roads ...
分类:
其他好文 时间:
2014-05-10 09:34:09
阅读次数:
389
原文:SQL Server
多实例下的复制一.本文所涉及的内容(Contents)本文所涉及的内容(Contents)背景(Contexts)搭建步骤(Procedure)注意事项(Attention)二.背景(Contexts)
在服务器A有一个数据库Task,需要把部分表部分字段发布订阅到服务器...
分类:
数据库 时间:
2014-05-08 19:42:00
阅读次数:
513
1.下载PHP5.4.27源码2.下载php-5.4.27-Win32-VC9-x863.把它们放到同一个目录下,如php_win_ext目录下4.将源码中src/win32/build/config.w32.h.in文件拷贝一份到src/main/下,并重命名为:config.w32.h。5.创建...
前几天一直想引用别的DLL里面的一个图片。总是出现各种各样问题,一气之下将图片拷贝到当前Project中,运行良好。虽然知道引用图片,就1.2.列出来的2点就够了。1.The
Build Action should be Resource instead of Embedded Resource.2...
分类:
其他好文 时间:
2014-05-07 20:40:39
阅读次数:
385
using System;using System.Collections;using
System.Collections.Generic;using System.IO;using System.Linq;using
System.Text;using System.Threading.Task...
分类:
其他好文 时间:
2014-05-07 19:10:55
阅读次数:
387
首先上header file
#ifndef _SCHED_H
#define _SCHED_H
#define HZ 100
#define NR_TASKS 64
#define TASK_SIZE 0x04000000
#define LIBRARY_SIZE 0x00400000
#if (TASK_SIZE & 0x3fffff)
#error "TASK_...
分类:
系统相关 时间:
2014-05-07 11:56:55
阅读次数:
662
使用openGL2.x的api时,你的显卡驱动要支持才行。如果没装驱动,你的显卡可能只支持openGL1.x。
使用什么工具查看openGL的支持情况?--使用“EVEREST_Ultimate_Edition_5.50_Build_2253_Beta”,你可以在baidu查找它。
看看下图,...
分类:
其他好文 时间:
2014-05-07 08:10:39
阅读次数:
298
封装了一个基于C++11的线程池对象。
异步执行的任务,从线程池中分配一个空闲的线程来执行该任务.
如果没有空闲的线程可以执行,则进入队列排队
task_pool_init(10);
for( int i = 0 ; i < 200 ; i ++ )
{
run_job([i]{
std::this_thread::sleep_for(std::chrono::seconds(1));
});
}
...........................
...
分类:
编程语言 时间:
2014-05-06 23:16:37
阅读次数:
378
1.ubuntu14.04安装依赖sudo apt-get install
build-essential gawk m4 libasound2-dev libcups2-dev libxrender-dev xorg-dev
xutils-dev x11proto-print-dev binuti...
分类:
其他好文 时间:
2014-05-06 14:19:33
阅读次数:
343
终于搞定了 国内所有链接都给封了....OXGBcGu1yfc神马的
是个很奇怪的东西不懂留邮箱吧
分类:
其他好文 时间:
2014-05-06 10:53:14
阅读次数:
2379