To use the ATLTrace tool: Debug an MFC or ATL project select Start from the Debug menu. Select MFC/ATL Trace Tool in the Tools menu. Expand the tree control list in the Trace List window. Here you will see the running application, any modules within that application, and the trace categories for each module. Customize, for each process, module, and category, which information is displayed in the output window. The Trace level control in the Process group is related to the ATLTRACE2 level only those ATLTRACE2 messages with a level equal to or greater than the setting in the Trace level control will be displayed in the output window. Select Apply to put your settings into effect. You can save your settings, and load them the next time you debug the application use the Save and Load buttons.
標(biāo)簽: Debug the ATLTrace project
上傳時間: 2014-01-15
上傳用戶:wfl_yy
編程題(15_01.c) 結(jié)構(gòu) struct student { long num char name[20] int score struct student *next } 鏈表練習(xí): (1).編寫函數(shù)struct student * creat(int n),創(chuàng)建一個按學(xué)號升序排列的新鏈表,每個鏈表中的結(jié)點(diǎn)中 的學(xué)號、成績由鍵盤輸入,一共n個節(jié)點(diǎn)。 (2).編寫函數(shù)void print(struct student *head),輸出鏈表,格式每行一個結(jié)點(diǎn),包括學(xué)號,姓名,分?jǐn)?shù)。 (3).編寫函數(shù)struct student * merge(struct student *a,struct student *b), 將已知的a,b兩個鏈表 按學(xué)號升序合并,若學(xué)號相同則保留成績高的結(jié)點(diǎn)。 (4).編寫函數(shù)struct student * del(struct student *a,struct student *b),從a鏈表中刪除b鏈表中有 相同學(xué)號的那些結(jié)點(diǎn)。 (5).編寫main函數(shù),調(diào)用函數(shù)creat建立2個鏈表a,b,用print輸出倆個鏈表;調(diào)用函數(shù)merge升序合并2個 鏈表,并輸出結(jié)果;調(diào)用函數(shù)del實(shí)現(xiàn)a-b,并輸出結(jié)果。 a: 20304,xxxx,75, 20311,yyyy,89 20303,zzzz,62 20307,aaaa,87 20320,bbbb,79 b: 20302,dddd,65 20301,cccc,99 20311,yyyy,87 20323,kkkk,88 20307,aaaa,92 20322,pppp,83
標(biāo)簽: student struct score long
上傳時間: 2016-04-13
上傳用戶:zxc23456789
This little Program allows you to send commands to the CardReader (CT-BCS) or to the Card itself. First you will be ask to what Port the Reader is connected (0=COM1, 1=COM2). Then the Class-Byte (CLA), Instruction-Byte (INS), Parameter 1 (P1), Parameter 2 (P2). If wou don愒 want to send Parameter 3 (P3) press Ctrl-d (^d). If you enter a number then you have to the Bytes of the Datafield. After the last Byte of the Datafield is entered the whole APDU is send the replay is displayed. After that you can send the next APDU.
標(biāo)簽: CardReader the commands to
上傳時間: 2016-04-23
上傳用戶:nanxia
This will sample all 8 A/D-channels. The result will be send out via UART1 and can be seen within any terminal-program (9600 Baud). With each pressed key the next channel will be converted. No interrupts are used.
標(biāo)簽: will D-channels sample result
上傳時間: 2016-04-23
上傳用戶:wxhwjf
字符匹配中的KMP算法,計(jì)算next值實(shí)現(xiàn)部分。
上傳時間: 2016-04-25
上傳用戶:hewenzhi
Findstr.cpp運(yùn)行結(jié)果: Getnext-IndexKMP的結(jié)果: 輸入主串s:acabaabcaabaabcac 輸入模式串t:abaabcac 主串s長=17 模式串t長=8 next[0]=-1 next[1]=-1 next[2]=0 next[3]=0 next[4]=1 next[5]=-1 next[6]=0 next[7]=-1 next[8]=0 模式串在主串的位置從第10個字符開始 Getnext-IndexKMP的結(jié)果: next[1]=0 next[2]=1 next[3]=1 next[4]=1 next[5]=2 next[6]=1 next[7]=1 模式串在主串的位置從第10個字符開始 GetnextVal-IndexKMP的結(jié)果: next[1]=0 next[2]=1 next[3]=1 next[4]=0 next[5]=2 next[6]=1 next[7]=1 模式串在主串的位置從第10個字符開始 Getnext-IndexKMP的結(jié)果: next[1]=0 next[2]=1 next[3]=1 next[4]=1 next[5]=2 next[6]=1 next[7]=1 模式串t在主串s中的位置從第10個字符開始 IndexBF的結(jié)果: 模式串t在主串s中的位置從第10個字符開始
標(biāo)簽: acabaabcaabaabcac Getnext-IndexKMP abaabcac Findstr
上傳時間: 2013-12-25
上傳用戶:璇珠官人
我所采用的內(nèi)存管理思想是鏈表管理思想,內(nèi)存分配方案是最佳適應(yīng)方案(best fit)。其主要的數(shù)據(jù)結(jié)構(gòu)為 struct node { char* p int memosize int flag struct node* next } 這是一個鏈表的結(jié)點(diǎn)的數(shù)據(jù)結(jié)構(gòu),用它來管理內(nèi)存的分配與回收。P 表示所指的分配的內(nèi)存的首地址,memosize 表示分配的內(nèi)存塊的大小,flag 為一個標(biāo)志量,表示內(nèi)存塊是否被占用。用 1 和 0 來表示被占用和不被占用。next 表示下一個結(jié)點(diǎn)的首地址。 內(nèi)存管理包括一個分配內(nèi)存的mm_request(unsigned int)函數(shù),一個初始化所要管理的內(nèi)存的mm_init()函數(shù),一個空閑列表排序函數(shù)sort(),一個釋放內(nèi)存的mm_release(void* )函數(shù)和一個判斷內(nèi)存是否被占用的IsFree(int)函數(shù)。
標(biāo)簽: 內(nèi)存管理
上傳時間: 2016-07-06
上傳用戶:qunquan
package query public class LinkQuery { private Node front private Node vear public LinkQuery() { this.front=null this.vear=null } public void add(int i) { Node newNode=new Node(i) if(vear==null && front==null) { vear=newNode front=newNode return } vear.next=newNode vear=newNode } public int remove() { if(this.front==null) { System.out.println("隊(duì)是空的,無法取") return -1 } int temp=this.front.data this.front=this.front.next if(this.front==null) { this.vear=null }
標(biāo)簽: private public Node LinkQuery
上傳時間: 2016-07-08
上傳用戶:天誠24
操作系統(tǒng)課程設(shè)計(jì)_進(jìn)程調(diào)度演示源程序 #include "stdio.h" #include "stdlib.h" #include "string.h" typedef struct node { char name[10] /*進(jìn)程標(biāo)識符*/ int prio /*進(jìn)程優(yōu)先數(shù)*/ int round /*進(jìn)程時間輪轉(zhuǎn)時間片*/ int cputime /*進(jìn)程占用CPU時間*/ int needtime /*進(jìn)程到完成還要的時間*/ int count /*計(jì)數(shù)器*/ char state /*進(jìn)程的狀態(tài)*/ struct node *next /*鏈指針*/ }PCB
標(biāo)簽: include typedef stdlib string
上傳時間: 2016-08-09
上傳用戶:鳳臨西北
KMP算法的思想一般數(shù)據(jù)結(jié)構(gòu)書都有講,KMP算法本身與求next數(shù)組的算法很類似,無符號整型數(shù)據(jù)與整型數(shù)據(jù)比較大小
標(biāo)簽: KMP 算法 數(shù)據(jù)結(jié)構(gòu)
上傳時間: 2016-08-12
上傳用戶:lifangyuan12
蟲蟲下載站版權(quán)所有 京ICP備2021023401號-1