迷宮算法(maze) /* Maze * Starting point is m[0][0], need to find a path go to m[9][9]. 0 means OK, * 1 means cannot go there, boundary is 0 and 9, cannot go beyond boundary. * Each step can be made horizontally or vertically for one more grid (diagonal * jump is not allowed). * Your program should print a series of grid coordinates that start from m[0][0] * and go to m[9][9] * Hint: No need to find the shortest path, only need to find one path that gets * you to desitination. */
上傳時間: 2013-12-27
上傳用戶:Divine
This code outputs various NMEA strings to a com port. The code was originally used to test naviation programmes. First select the required com port and the required NMEA message string. There is a default starting position but this can be changed to suit just by typing in a new position. Click on the Start button the current position displayed will change according to the speed and heading selected and the selected NMEA string will be output to the com port and will reflect the current position as displayed. There is a text box which is normally not visible. If you change this to visible the relevant NMEA string can be displayed.
標簽: code originally outputs naviati
上傳時間: 2013-11-30
上傳用戶:熊少鋒
M16C interrupt settings and Initial code setting for HEW4 for renesas M16c...I coded and optimized. It will savr time to start a new app. (-:cool:-)
標簽: interrupt and for optimized
上傳時間: 2014-11-22
上傳用戶:小草123
Using Trolltech s Qt you can build industrial-strength C++ applications that run natively on Windows, Linux/Unix, Mac OS X, and embedded Linux--without making source code changes. With this book Trolltech insiders have written a start-to-finish guide to getting great results with the most powerful version of Qt ever created: Qt 4.1.
標簽: industrial-strength applications Trolltech natively
上傳時間: 2017-08-11
上傳用戶:邶刖
This book is for someone who wants to quickly master the basics of how to install, run, and maintain Linux on an Intel-based personal computer. All of the tools you need are included. Your computer should have a monitor, or display, keyboard, mouse, hard drive, floppy drive, and CD-ROM drive. Although you can jump right in and install Linux onto your hard drive, you should have some technical information about your computer and its hardware on hand before you start.
標簽: install someone quickly maintai
上傳時間: 2017-08-19
上傳用戶:zhuoying119
A flasher for old nokia phones.you need to use a special interface for that not ptovided here in doc.But is proved to be a good source info for thouse who want to start comunicate with a gsm phone
標簽: for interface ptovided flasher
上傳時間: 2017-08-21
上傳用戶:xinzhch
If you need a simple program to time onscreen events this is it. Just click the window and it will start timing. Click again and it will stop.
標簽: onscreen program events simple
上傳時間: 2017-08-31
上傳用戶:王小奇
Beginning with tips for the person who is programming with SQL for the first time, SQL Tips and Techniques grows with your skills. You can start with Tip 1, "Understanding the Definition of a Database," and by the last Tip, "Displaying Image Data Stored Within a SQL Table," you will have covered all aspects of SQL.
標簽: with programming Beginning for
上傳時間: 2013-12-21
上傳用戶:LIKE
DATAS SEGMENT w dw 0 keybuf db 255 db 0 db 255 dup(0) ;定義鍵盤輸入需要的緩沖區 DATAS ENDS STACKS SEGMENT db 200 dup(?) STACKS ENDS CODES SEGMENT ASSUME CS:CODES,DS:DATAS,SS:STACKS START: MOV AX,DATAS MOV DS,AX mov dx,offset keybuf ;用0a號功能,輸入一個字符串 mov ah,0ah ;用回車結束 int 21h mov dl,0ah ;再進行換行,以便在下一行顯示轉換后的字符串 mov ah,2 int 21h ; push ax ; push dx ; mov dl,cl ; mov ah,02 ; int 21h ; pop dx ; pop ax mov bx,offset keybuf+1 ;取出字符串的字符個數,作為循環的次數 mov cl,[bx] mov ch,0 mov ax,0 again: inc bx mov ax,[w] push bx mov bx,16 mul bx pop bx ;是小寫字母,則轉換為大寫字母 mov [w],ax mov dl,[bx] ;取出一個字符, cmp dl,'9' jbe lab1 cmp dl,'F' jbe lab2 sub dl,32 lab2: sub dl ,07h lab1: sub dl,30h add [w],dx loop again mov ax,[w] mov bx,-1 push bx mov bx,10 lab3 :mov dx,0 div bx push dx cmp ax,0 jnz lab3 lab5: pop dx cmp dx,-1 jz lab4 add dl,30h mov ah,02 int 21h jmp lab5 ;循環,處理完整個字符串 lab4: MOV AH,4CH INT 21H CODES ENDS END START
標簽: 匯編
上傳時間: 2015-04-02
上傳用戶:wcc0310
msp430代碼,精確測量信號頻率 程序描述:利用Timer_A捕獲脈沖寬度 利用MSP430單片機定時器A和捕獲/比較功能模塊結合使用,實現脈沖寬度的測量 程序用到了定時器A的CCI1A端口(MSP430F14X的P1.2引腳)作捕獲外部輸入 的脈沖電平跳變,start,end,兩個個變量來計算脈沖寬度
標簽: msp430測信號頻率代碼
上傳時間: 2015-05-05
上傳用戶:66998877