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