一、安装OEL 5.6二、安装VMware Tools 1)选择菜单里的VM选项,里面有一个子选项是installVMware Tools,选择它。2) 回到操作系统,将光驱挂载到/mnt 下[root@tyger~]# mount /dev/cdrom /mntmount:block device...
分类:
其他好文 时间:
2014-07-16 23:18:11
阅读次数:
397
/** * calc_map_distance() , 根据地图上的两个点各自的x,y坐标,计算出2点之间的直线距离 * @param array $point_1 第1个点的x,y坐标 array( 101 , 202 ) * @param array $po...
分类:
其他好文 时间:
2014-07-16 23:11:28
阅读次数:
166
背景: private System.Windows.Controls.Border _borderTouch; private bool _mouseDown = false; private System.Windows.Point _currentPoint = new System.Wi.....
分类:
其他好文 时间:
2014-07-10 00:29:50
阅读次数:
287
题目链接 Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two ...
分类:
其他好文 时间:
2014-07-07 22:25:30
阅读次数:
359
Write something like this to automatically mount system drive:/dev/sda1 /media/win-c ntfs-3gauto,rw,suid,exec,async,users,locale=zh_CN.UTF-8 0 0...
分类:
其他好文 时间:
2014-06-30 13:30:17
阅读次数:
276
安装DOSbox软件下载个debug.exe然后把这放到D盘或E盘的根目录下然后启动dosbox软件,在下面输入mount c d:\ enter键c: enter键输入debug命令就ok了然后就可使用了
对每个圆二分半径寻找可行的最小半径,然后取最小的一个半径。
对于两圆相交就只要求到两个扇形,然后减去两个全等三角形就行了。
#include
#include
#include
#include
using namespace std;
#define pi acos(-1.0)
#define eps 1e-8
#define maxn 50
int n;
struct point{...
分类:
其他好文 时间:
2014-06-29 22:36:16
阅读次数:
247
1、下面是一个结构的定义:
public struct Point
{
public int X { get; set; }
public int Y { get; set; }
}
什么时候用结构:
用于小型的数据结构
其中的值一般不修改...
分类:
其他好文 时间:
2014-06-28 08:38:41
阅读次数:
164
两端的hellointerval和deadtime不匹配。可以用showipospfinterfaceXX查看。通常是10/40s或者是30/120s。两端的掩码不一致。OSPF邻居建立要求两个端口的掩码一致。两端
的网络类型不一致。网络类型包括point-to-point,Non-broadcastMultiAccess,Broadcast
MultiAccess,point-..
分类:
其他好文 时间:
2014-06-28 00:39:04
阅读次数:
305
先看一个简单的例子
代码:
// ConsoleApplication3_6_23.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include
#include
#include
using namespace std;
using namespace cv;...
分类:
其他好文 时间:
2014-06-27 23:52:41
阅读次数:
406