abel Tool Sample Requires: Visual Basic 6 and MapObjects 2.x Data: redlands.shp (Redlands sample data set from MO 2.x) Interactive Labeling Tool If the check box is checked, then the mouse down location will search for the closest line, and label it with the street name. If the check box is not checked, then the mouse down will turn into a pan/zoom tool. There is a slider bar to control the search tolerance in screen pixels for the labeling.
标签: MapObjects Requires Redlands redlands
上传时间: 2013-12-17
上传用户:sunjet
数字运算,判断一个数是否接近素数 A Niven number is a number such that the sum of its digits divides itself. For example, 111 is a Niven number because the sum of its digits is 3, which divides 111. We can also specify a number in another base b, and a number in base b is a Niven number if the sum of its digits divides its value. Given b (2 <= b <= 10) and a number in base b, determine whether it is a Niven number or not. Input Each line of input contains the base b, followed by a string of digits representing a positive integer in that base. There are no leading zeroes. The input is terminated by a line consisting of 0 alone. Output For each case, print "yes" on a line if the given number is a Niven number, and "no" otherwise. Sample Input 10 111 2 110 10 123 6 1000 8 2314 0 Sample Output yes yes no yes no
上传时间: 2015-05-21
上传用户:daguda
2^x mod n = 1 acm竞赛题 Give a number n, find the minimum x that satisfies 2^x mod n = 1. Input One positive integer on each line, the value of n. Output If the minimum x exists, print a line with 2^x mod n = 1. Print 2^? mod n = 1 otherwise. You should replace x and n with specific numbers. Sample Input 2 5 Sample Output 2^? mod 2 = 1 2^4 mod 5 = 1
标签: mod satisfies minimum number
上传时间: 2015-06-02
上传用户:qlpqlq
XMathLib是一个通用的3D图形数学库。 其中包含两个部分: XMathLib和XGeomLib。分别处理数学和几何运算。 数学部分包含向量、矩阵、四元数的运算。以及其它的运算。 几何部分包含Box Frustum AABB OBB Ray line line-Segment Plan Triangle等的运算。
上传时间: 2013-12-14
上传用户:hfmm633
首先定义一个点类Point,其私有成员为其坐标X,Y。设计构造函数,拷贝构造函数,析构函数(可以什么都不做,只打印信息,表示其被调用),设置新值函数Set, 打印成员值函数Print。再定义一个线类line,线类是在公有继承点类的基础上,新增私有成员斜率S,并设计构造函数,拷贝构造函数,析构函数(可以什么都不做,只打印信息,表示其被调用),设置新值函数Set, 打印成员值函数Print以及其它你认为对访问此line类对象有用的成员函数。并用此line类定义对象,调用所有成员函数。尤其是考察构造函数的调用顺序。
上传时间: 2015-07-07
上传用户:xfbs821
关于 uC/OS-II 在 LPC210X 上移植的说明 1. 全部代码在 ADS1.2 中编译调试. 2. 您可以更改 RO BASE 为 0x0000 0000, 这样可以将代码写入 flash 中运行. 5. 全部代码采用 ARM 指令. 6. uC/OS-II 版本为 V2.52. 7. 当您暂停程序的时候, 如果定时器开着, 那么定时器并不会暂停,需要注意 8. Vectors.S 文件中的 startup 段为程序入口. 9. 编译时下面的警告不必理会. Warning : C2871W: static OS_InitTaskStat declared but not used OS_CORE.C line 1108 10. 如果您想通过软件仿真,请将 PLL.C 中的第 51 行屏蔽, 怎样就可以看到任务逐个切换,最后将进入空闲任务. 11. 此次移植将许多 uC/OS-II 的功能函数都关闭了,请查看 OS_CFG.H 文件.
上传时间: 2013-12-25
上传用户:Divine
这是一个移植到vc上的小型ucGUI,有助于容易理解GUI的实现和移植到嵌入式系统上,其中包括了Font,Widget,Window,Graphs(circle,line,poly,arc),LCDDriver,MemDev等。
上传时间: 2013-12-21
上传用户:wangyi39
Implemented BFS, DFS and A* To compile this project, use the following command: g++ -o search main.cpp Then you can run it: ./search The input is loaded from a input file in.txt Here is the format of the input file: The first line of the input file shoud contain two chars indicate the source and destination city for breadth first and depth first algorithm. The second line of input file shoud be an integer m indicate the number of connections for the map. Following m lines describe the map, each line represents to one connection in this form: dist city1 city2, which means there is a connection between city1 and city2 with the distance dist. The following input are for A* The following line contains two chars indicate the source and destination city for A* algorithm. Then there is an integer h indicate the number of heuristic. The following h lines is in the form: city dist which means the straight-line distance from the city to B is dist.
标签: Implemented following compile command
上传时间: 2014-01-01
上传用户:lhc9102
Predefined Style options define the style by setting several other options. If other options are also used, the placement of the predefined style option in the command line is important. If the predefined style option is placed first, the other options may override the predefined style. If placed last, the predefined style will override the other options. For example the style --style=ansi sets the option --brackets=break . If the command line specifies "--style=ansi --brackets=attach", the brackets will be attached and the style will not be ansi style. If the order on the command line is reversed to "--brackets=attach --style=ansi ", the brackets will be broken (ansi style) and the attach option will be ignored. For the options set by each style check the parseOption function in astyle_main.cpp
标签: options other Predefined setting
上传时间: 2014-12-21
上传用户:zhangliming420
AutoSummary contains the JWords Java Interface for WordNet, and you will need to edit the JWords configuration file to provide a path to the WordNet command line interface.
标签: JWords AutoSummary Interface the
上传时间: 2015-10-09
上传用户:lmeeworm