John is going on a fishing trip. He has h hours available (1 <= h <= 16), and there are n lakes in the area (2 <= n <= 25) all reachable along a single, one-way road. John starts at lake 1, but he can finish at any lake he wants. He can only travel from on...
分类:
其他好文 时间:
2014-05-07 08:48:52
阅读次数:
515
今天写程序时需要写一个命令行解析程序,于是网上搜索getopt()的实现代码,但搜到的信息基本上是如何使用getopt(),而系统又是Windows的;于是想到了以前项目中使用到的Google开源命令行解析库gflags。
google开源的gflags是一套命令行参数解析工具,他可以替代getopt(),使用起来更加方便灵活,包括支持C++内建的类型如string,gflags还支持从环境变量...
分类:
其他好文 时间:
2014-05-07 08:36:34
阅读次数:
848
这里是windows下 使用1.4.3版本时候出现的问题。
问题1
I:\git\orangle.github.io>jekyll serve --watch
Configuration file: I:/git/orangle.github.io/_config.yml
Source: I:/git/orangle.github.io
Destinat...
分类:
其他好文 时间:
2014-05-07 08:04:31
阅读次数:
486
1.前言
假设电脑上已经安装了windows XP或者windows7。试图在使用windows的同时,在电脑上安装ubuntu。
假设电脑上已经存在C盘、D盘、E盘和F盘,且E盘和F盘的剩余空间较大。
假设ubuntu系统需要40G空间。
【使用软件】傲梅分区助手
【最终目标】为安装ubuntu系统节省出40G左右的空闲空间。40G空间来自于E盘...
分类:
系统相关 时间:
2014-05-07 07:39:35
阅读次数:
407
在XP安装VS2005 SP1时,没有一点问题;;但是在Server版,就会... ...
出现问题:
Error 1718.File C:WINDOWS\Installer\3951d.msp did not pass the digital signature check. For more information about a possible resolution for this problem, see...
RabbitMQ专题学习之简介和部署,详细介绍了基于Windows平台的部署...
分类:
其他好文 时间:
2014-05-07 07:33:04
阅读次数:
421
尽管在Linux里传播的病毒不多,但也是存在一些,我从一些安全站点搜集了一些资料。
1、病毒名称:
Linux.Slapper.Worm
类别: 蠕虫
病毒资料: 感染系统:Linux
不受影响系统:Windows 3.x,
Windows 95, Windows 98, Windows NT, Windows 2000, Windo...
分类:
系统相关 时间:
2014-05-07 07:02:02
阅读次数:
802
The number of steps
Time Limit: 1000ms Memory limit: 65536K 有疑问?点这里^_^
题目描述
Mary stands in a strange maze, the maze looks like a triangle(the first layer have one room,the seco...
分类:
其他好文 时间:
2014-05-07 06:15:59
阅读次数:
427
Windows Socket编程与服务器客户端示例
Winsock是 Windows下套接字标准。
Socket套接字基于计算机网络,提供同一系统上不同进程或由局域网连接在一起的不同机器上的进程间通讯功能。如下图:
套接字通过IP地址,Port端口号标识,通过这个标识可以在整个局域网定位一个套接字,通过套接字进程便可以相互传输数据。如:进程...
windows server 2012安装.NET Framework的时候提示找不到源文件,是因为用了360等优化软件清理过系统盘了,所以找不到源文件。
解决办法:插入2012安装光盘或者把2012的镜像文件iso加载到虚拟光驱。
然后安装的时候“指定备用源文路径”为【光盘:\sources\sxs】即可安装成功...