vc++與visio 安裝VISIO office(推薦2003以上版本)必須安裝visio office 否則程序無法運行 安裝VisioSDK(推薦2003以上版本) 默認安裝路徑為<SDK> C:\Program Files\Microsoft Office\Office12\VisSDK 新建project(實例代碼是新建了個MFC Dialog base program) 將<SDK>\Libraries\CPP\里的include目錄下和sources目錄下的如下文件拷貝到你的project目錄里(這樣可以。。)
標簽: office visio 2003 VisioSDK
上傳時間: 2013-12-25
上傳用戶:大融融rr
as a message came into prominence with the publication in 1948 of an influential paper by Claude Shannon, "A Mathematical Theory of Communication." This paper provides the foundations of information theory and endows the word information not only with a technical meaning but also a measure. If the sending device is equally likely to send any one of a set of N messages, then the preferred measure of "the information produced when one message is chosen from the set" is the base two logarithm of N (This measure is called self-information). In this paper, Shannon cont
標簽: influential publication prominence message
上傳時間: 2014-01-21
上傳用戶:2404
用于地鐵報站的虛擬儀器,用于學習交流控制的Labwiew
標簽: Railway Station
上傳時間: 2015-05-19
上傳用戶:wuseshikong
#include <stdlib.h> #include<stdio.h> #include <malloc.h> #define stack_init_size 100 #define stackincrement 10 typedef struct sqstack { int *base; int *top; int stacksize; } sqstack; int StackInit(sqstack *s) { s->base=(int *)malloc(stack_init_size *sizeof(int)); if(!s->base) return 0; s->top=s->base; s->stacksize=stack_init_size; return 1; } int Push(sqstack *s,int e) { if(s->top-s->base>=s->stacksize) { s->base=(int *)realloc(s->base,(s->stacksize+stackincrement)*sizeof(int)); if(!s->base) return 0; s->top=s->base+s->stacksize; s->stacksize+=stackincrement; } *(s->top++)=e; return e; } int Pop(sqstack *s,int e) { if(s->top==s->base) return 0; e=*--s->top; return e; } int stackempty(sqstack *s) { if(s->top==s->base) { return 1; } else { return 0; } } int conversion(sqstack *s) { int n,e=0,flag=0; printf("輸入要轉化的十進制數:\n"); scanf("%d",&n); printf("要轉化為多少進制:\n"); scanf("%d",&flag); printf("將十進制數%d 轉化為%d 進制是:\n",n,flag); while(n) { Push(s,n%flag); n=n/flag; } while(!stackempty(s)) { e=Pop(s,e); switch(e) { case 10: printf("A"); break; case 11: printf("B"); break; case 12: printf("C"); break; case 13: printf("D"); break; case 14: printf("E"); break; case 15: printf("F"); break; default: printf("%d",e); } } printf("\n"); return 0; } int main() { sqstack s; StackInit(&s); conversion(&s); return 0; }
上傳時間: 2016-12-08
上傳用戶:愛你198
#include <iostream> #include <stdio.head> #include <stdlib.head> #include <string.head> #define ElemType int #define max 100 using namespace std; typedef struct node1 { ElemType data; struct node1 *next; }Node1,*LinkList;//鏈棧 typedef struct { ElemType *base; int top; }SqStack;//順序棧 typedef struct node2 { ElemType data; struct node2 *next; }Node2,*LinkQueue; typedef struct node22 { LinkQueue front; LinkQueue rear; }*LinkList;//鏈隊列 typedef struct { ElemType *base; int front,rear; }SqQueue;//順序隊列 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 //1.采用鏈式存儲實現棧的初始化、入棧、出棧操作。 LinkList CreateStack()//創建棧 { LinkList top; top=NULL; return top; } bool StackEmpty(LinkList s)//判斷棧是否為空,0代表空 { if(s==NULL) return 0; else return 1; } LinkList Pushead(LinkList s,int x)//入棧 { LinkList q,top=s; q=(LinkList)malloc(sizeof(Node1)); q->data=x; q->next=top; top=q; return top; } LinkList Pop(LinkList s,int &e)//出棧 { if(!StackEmpty(s)) { printf("棧為空。"); } else { e=s->data; LinkList p=s; s=s->next; free(p); } return s; } void DisplayStack(LinkList s)//遍歷輸出棧中元素 { if(!StackEmpty(s)) printf("棧為空。"); else { wheadile(s!=NULL) { cout<<s->data<<" "; s=s->next; } cout<<endl; } } 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 //2.采用順序存儲實現棧的初始化、入棧、出棧操作。 int StackEmpty(int t)//判斷棧S是否為空 { SqStack.top=t; if (SqStack.top==0) return 0; else return 1; } int InitStack() { SqStack.top=0; return SqStack.top; } int pushead(int t,int e) { SqStack.top=t; SqStack.base[++SqStack.top]=e; return SqStack.top; } int pop(int t,int *e)//出棧 { SqStack.top=t; if(!StackEmpty(SqStack.top)) { printf("棧為空."); return SqStack.top; } *e=SqStack.base[s.top]; SqStack.top--; return SqStack.top; } 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 //3.采用鏈式存儲實現隊列的初始化、入隊、出隊操作。 LinkList InitQueue()//創建 { LinkList head; head->rear=(LinkQueue)malloc(sizeof(Node)); head->front=head->rear; head->front->next=NULL; return head; } void deleteEle(LinkList head,int &e)//出隊 { LinkQueue p; p=head->front->next; e=p->data; head->front->next=p->next; if(head->rear==p) head->rear=head->front; free(p); } void EnQueue(LinkList head,int e)//入隊 { LinkQueue p=(LinkQueue)malloc(sizeof(Node)); p->data=e; p->next=NULL; head->rear->next=p; head->rear=p; } 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 //4.采用順序存儲實現循環隊列的初始化、入隊、出隊操作。 bool InitQueue(SqQueue &head)//創建隊列 { head.data=(int *)malloc(sizeof(int)); head.front=head.rear=0; return 1; } bool EnQueue(SqQueue &head,int e)//入隊 { if((head.rear+1)%MAXQSIZE==head.front) { printf("隊列已滿\n"); return 0; } head.data[head.rear]=e; head.rear=(head.rear+1)%MAXQSIZE; return 1; } int QueueLengthead(SqQueue &head)//返回隊列長度 { return (head.rear-head.front+MAXQSIZE)%MAXQSIZE; } bool deleteEle(SqQueue &head,int &e)//出隊 { if(head.front==head.rear) { cout<<"隊列為空!"<<endl; return 0; } e=head.data[head.front]; head.front=(head.front+1)%MAXQSIZE; return 1; } int gethead(SqQueue head)//得到隊列頭元素 { return head.data[head.front]; } int QueueEmpty(SqQueue head)//判斷隊列是否為空 { if (head.front==head.rear) return 1; else return 0; } void travelQueue(SqQueue head)//遍歷輸出 { wheadile(head.front!=head.rear) { printf("%d ",head.data[head.front]); head.front=(head.front+1)%MAXQSIZE; } cout<<endl; } 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 //5.在主函數中設計一個簡單的菜單,分別測試上述算法。 int main() { LinkList top=CreateStack(); int x; wheadile(scanf("%d",&x)!=-1) { top=Pushead(top,x); } int e; wheadile(StackEmpty(top)) { top=Pop(top,e); printf("%d ",e); }//以上是鏈棧的測試 int top=InitStack(); int x; wheadile(cin>>x) top=pushead(top,x); int e; wheadile(StackEmpty(top)) { top=pop(top,&e); printf("%d ",e); }//以上是順序棧的測試 LinkList Q; Q=InitQueue(); int x; wheadile(scanf("%d",&x)!=-1) { EnQueue(Q,x); } int e; wheadile(Q) { deleteEle(Q,e); printf("%d ",e); }//以上是鏈隊列的測試 SqQueue Q1; InitQueue(Q1); int x; wheadile(scanf("%d",&x)!=-1) { EnQueue(Q1,x); } int e; wheadile(QueueEmpty(Q1)) { deleteEle(Q1,e); printf("%d ",e); } return 0; }
上傳時間: 2018-05-09
上傳用戶:123456..
wifi模塊,RAK411 是一款完全符合802.11b/g/n 無線協議的Wi-Fi 模塊,內部集成完整的TCP/IP 協議棧,支 持ARP、IP、ICMP、TCP 、UDP、DHCP CLIENT、DHCP SERVER、DNS 等多種協議。支持AP 模式, Station 及Ad-hoc。用戶可以方便、快速地使用模塊實現組網及數據收發。在SPI 接口下,模塊最大傳輸 速率可達2Mbps。
上傳時間: 2018-05-17
上傳用戶:luke242
利用ESP8266作為AP或STATION連接互聯網,實現通信TDP/DUP通信。
上傳時間: 2018-06-15
上傳用戶:菲K頂B蝦
漢中路到了。開左邊門,下車請注意安全。We are now at Hanzhong Road . Doors will open on the left。 本次列車終點站上海火車站。下一站終點站上海火車站,開左邊門。使用公交卡的乘客可在出站后30分鐘內換乘3號線、4號線,請注意換成列車的首末班車時間。打開metro大都會手機數碼乘地鐵。 Nest stop is the termina.station ShanghaiRailway station.Roors will open on the lift. 終點站上海火車站到了。開左邊門。下車請注意安全。請全體乘客下車。We are now at the termina.station Shanghai Railway station Roors will open on the lift.
上傳時間: 2019-07-05
上傳用戶:coolmen
obot control, a subject aimed at making robots behave as desired, has been extensively developed for more than two decades. Among many books being published on this subject, a common feature is to treat a robot as a single system that is to be controlled by a variety of control algorithms depending on different scenarios and control objectives. However, when a robot becomes more complex and its degrees of freedom of motion increase substantially, the needed control computation can easily go beyond the scope a modern computer can handle within a pre-specified sampling period. A solution is to base the control on subsystem dynamics.
標簽: decomposition virtual control
上傳時間: 2019-09-04
上傳用戶:txb96
產品型號:VK1056B VK1056C 產品品牌:VINTEK/元泰 封裝形式:SOP24 SSOP24 產品年份:新年份 聯 系 人:許先生 聯系手機:18898582398 原廠直銷,工程服務,技術支持,價格具有優勢! VK1056B概述: VK1056B 是 56 點、 內存映象和多功能的 LCD 驅動, VK1056B 的軟件配置特性使它適用于多種 LCD 應用場合,包括 LCD 模塊和顯示系統,用于連接主控制器和 VK1056B 的管腳只有 4 條, VK1056B 還有一個節電命令用于降低系統功耗。VK1056B封裝:SOP24/SSOP24 特點: ★ 工作電壓:3.0-5.0V ★ 內嵌 256KHz RC oscillator ★ 可外接 32KHz 晶片或 256KHz 頻率源程 ★ 可選擇 1/2,1/3 偏壓,也可選擇 1/2,1/3 1/4 的占空比 ★ 兩種蜂鳴器頻率 ★ 節電命令可用于減少功耗 ★ 內 嵌 時 基 發 生 器 和 看 門 狗 定 時 器(WDT) ★ 8 個時基/看門狗定時器時鐘源 ★ 一個 14X4 的 LCD 驅動器 ★ 一個內嵌的 32X4 位顯示 RAM 內存 ★ 四線串行接口 ★ 內片 LCD 驅動頻率源 ★ 數據模式和命令模式指令 ★ 三種數據訪問模式 ★ 提供 VLCD 腳位可用來調整 LCD 電壓 ★ 此篇產品敘述為功能簡介,如需要完整產品PDF資料可以聯系許先生索取! ●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●● 產品型號:VK1072B VK1072C 產品品牌:VINTEK/元泰 封裝形式:SOP28 產品年份:新年份 聯 系 人:許先生 聯系手機:18898582398 原廠直銷,工程服務,技術支持,價格具有優勢! VK1072B 替代 TM1621C AIP31621E 完美兼容 價格更低 VK1072B SOP28 VK1072B 完全替代 HT1621 更小點陣 價格更優惠 VK1072B概述: VK1072B 是一個18*4的LCD驅動器,可軟體程式控制使其適用於多樣化的LCD應用線路,僅用到3條訊號線便可控制LCD驅動器,除此之外也可介由指令使其進入省電模式.VK1072封裝SOP28 特色: ★工作電壓:2.4-5.2V ★內建256KHz RC oscillator ★可選擇1/2,1/3 偏壓,也可選擇1/2,1/3或1/4的COM周期 ★省電模式, 節電命令可用于減少功耗 ★內 嵌 時 基 發 生 器 和 看 門 狗 定 時 器(WDT) ★內建time base generator ★18X4 LCD 驅動器VLCD 腳位可用來調整LCD輸 ★三種數據訪問模式 ★內建32X4 bit 顯示記憶體 ★三線串行接口 ★軟體程式控制 ★資料及指令模式 ★自動增加讀寫位址 ★提供VLCD 腳位可用來調整LCD輸出電壓 ★ 此篇產品敘述為功能簡介,如需要完整產品PDF資料可以聯系許先生索取! ●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●● 產品型號:VK1088B 產品品牌:VINTEK 封裝形式:QFN32 產品年份:新年份 聯 系 人:許先生 聯系手機:18898582398 原廠直銷,工程服務,技術支持,價格具有優勢! VK1088B概述: VK1088B 是一個22*4的LCD驅動器,可軟體程式控制使其適用於多樣化的LCD應用線路,僅用到3條訊號線便可控制LCD驅動器,除此之外也可介由指令使其進入省電模式. 特色: ★ 工作電壓:2.4-5.2V ★ 內建256KHz RC oscillator ★ 可選擇1/2,1/3 偏壓,也可選擇1/2,1/3或1/4的COM周期 ★ 省電模式 ★ 內建time base generator ★ 22X4 LCD 驅動器VLCD 腳位可用來調整LCD輸 ★ 三種數據訪問模式 ★ 內建22X4 bit 顯示記憶體 ★ 三線串行接口 ★ 軟體程式控制 ★ 資料及指令模式 ★ 自動增加讀寫位址 ★ VLCD 腳位可用來調整LCD輸入 ★ 此篇產品敘述為功能簡介,如需要完整產品PDF資料可以聯系許先生索取! 產品型號:VK1621B 產品品牌:VINTEK/元泰 封裝形式:LQFP48 LQFP44 SSOP48 DIP28 DICE/裸片 COB邦定片 定制COG 產品年份:新年份 聯 系 人:許先生 聯系手機:18898582398 工程服務,技術支持,價格具有優勢! VK1621B 是128模式(32x4),內存映射和多功能液晶驅動程序。S / W的VK1621配置特性使得它適合于多種LCD應用包括液晶顯示模塊和顯示子系統。只用三或四線的主機控制器連接VK1621之間的接口要求。VK1621包含一個電源關閉命令來降低功耗。 VK1621產品特征: ★ 工作電壓:2.4V ~ 5.2V ★ 內置RC振蕩器 ★ 外部的32.768kHz晶體或喚頻率源的輸入 ★ 1 / 2或1 / 3 偏壓選擇,和1 / 2或1 / 3或1 / 4液晶顯示應用程序的選擇 ★內部時間基準頻率源 ★兩個可選蜂鳴器的頻率(2/3) ★關機命令降低功耗 ★內置的時基發生器和看門狗 ★ 時基或WDT溢出輸出 ★ 8種時基/定時器的時鐘源 ★ 32x4 LCD驅動器 ★內置32x4位顯示RAM ★ 三線串行接口 ★ 內部LCD驅動頻率源 ★軟件配置特征 ★ 數據模式和命令模式指令的R / W地址自動遞增 ★三種數據訪問模式 ★提供 VLCD引腳來調整 LCD 工作電壓 ★ 此篇產品敘述為功能簡介,如需要完整產品PDF資料可以聯系許先生索取聯系電話:18898582398
標簽: 1621 1056 1072 1088 VK 額溫槍 測溫 顯示驅動 耳溫槍
上傳時間: 2020-03-16
上傳用戶:szqxw1688