#include "string.h" #include "ctype.h" #include "stdio.h" search(char pd[]) {FILE *fp; int time=0,i=0,j=0,add[80],k=0,m; char *ch, str[900]; m=strlen(pd); if((fp=fopen("haha.txt","r"))==NULL) { printf("Cannot open this file\n"); exit(0); } for(;!feof(fp);i++) { str[i]=fgetc(fp); if(tolower(str[i])==tolower(pd[k])) {k++; if(k==m) if(!isalpha(i-m)&&!isalpha((str[i++]=fgetc(fp)))) { time++; add[j]=i-m+1; j++; k=0; } else k=0; } } if(time) { printf("The time is:%d\n",time); printf("The adders is:\n"); for(i=0;i<j;i++) printf("%5d",add[i]); if(i%5==0) printf("\n"); getch(); fclose(fp); } else printf("Sorry!Cannot find the word(^_^)"); } main() { char pd[10],choose='y'; int flag=1; while(flag) {printf("In put the word you want to seqarch:"); scanf("%s",pd); search(strlwr(pd)); printf("\nWould you want to continue?(Y/N):"); getchar(); scanf("%c",&choose); if((tolower(choose))=='n') flag=0; else flag=1; } printf("Thanks for your using!Bye-bye!\n"); getch(); }
标签: 学生专用
上传时间: 2016-12-29
上传用户:767483511
汉中路到了。开左边门,下车请注意安全。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
产品型号(封装形式): VK3702DM VK3702TM VK3702OM——(SOP8 ) VK3706OM VK3706OM VK3706DM VK3708BM VK3710IM——(SOP16) 产品品牌:VINTEK/元泰 产品年份:新年份 深圳永嘉微电原厂直销,大量现货更有优势!让您的生产高枕无忧。 联系人:许硕 QQ:191 888 5898 TEL:188 9858 2398(微信) ●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●● 產品描述 VK3702DM提供2個觸摸感應按鍵,一對一直接輸出,提供低功耗模式,可使用於電池應用的產品。對於防水和抗干擾方面有很優異的表現。 ●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●● 產品描述 VK3702TM提供 2 個觸摸感應按鍵,一對一的 Toggle 模式輸出,提供低功耗模式,可使用於電池應用的產品。對於防水和抗干擾方面有很優異的表現 ●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●● 產品描述 VK3702OM提供 2 個觸摸感應按鍵,一對一直接輸出,輸出為開漏(open drain)型態,適合作 AD 鍵。提供低功耗模式,可使用於電池應用的產品。對於防水和抗干擾方面有很優異的表現。 ●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●● 產品描述 VK3706OM提供6個觸摸感應按鍵,一對一直接輸出,輸出為開漏(open drain)型態,適合作AD鍵。提供低功耗模式,可使用於電池應用的產品。對於防水和抗干擾方面有很優異的表現! ●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●● 產品描述 VK3706DM提供6個觸摸感應按鍵,一對一直接輸出,提供低功耗模式,可使用於電池應用的產品。對於防水和抗干擾方面有很優異的表現! ●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●● 產品描述 VK3708BM提供8個觸摸感應按鍵,二進制(BCD)編碼輸出,具有一個按鍵承認輸出的顯示,按鍵後的資料會維持到下次按鍵,可先判斷按鍵承認的狀態。提供低功耗模式,可使用於電池應用的產品。對於防水和抗干擾方面有很優異的表現! ●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●● 產品描述 VK3710IM提供10個觸摸感應按鍵及兩線式串列界面,並有中斷輸出INT腳與MCU聯繫。提供低功耗模式,可使用於電池應用的產品。特性上對於防水和抗干擾方面有很優異的表現! 我们的优势 1:我司为VINTEK/台湾元泰半导体股份有限公司/VINKA的授权大中华区代理商,产品渠道正宗,确保原装,大量库存现货! 2:公司工程力量雄厚,真诚技术服务支持,搭配原厂服务各种应用产品客户。 3:好价格源自连接原厂直销,你有量,我有价,确保原装的好价格。 优势代理元泰VKD常用触控按键IC,简介如下: 标准触控IC-电池供电系列 VKD223EB --- 工作电压/电流:2.0V-5.5V/5uA-3V 感应通道数:1 通讯接口 更长响应时间快速模式60mS,低功耗模式220ms 封装:SOT23-6 VKD223B --- 工作电压/电流:2.0V-5.5V/5uA-3V 感应通道数:1 通讯接口 更长响应时间快速模式60mS,低功耗模式220ms 封装:SOT23-6 VKD232C --- 工作电压/电流: 2.4V-5.5V/2.5uA-3V 感应通道数:2封装:SOT23-6 通讯接口:直接输出,低电平有效 固定为多键输出模式,內建稳压电路 VKD233DH(更小体积2*2)---工作电压/电流: 2.4V-5.5V/2.5uA-3V 1按键 封装:DFN6L 通讯接口:直接输出,锁存(toggle)输出 有效键更长时间检测16S VKD233DB(推荐) --- 工作电压/电流: 2.4V-5.5V/2.5uA-3V 1感应按键 封装:SOT23-6 通讯接口:直接输出,锁存(toggle)输出 低功耗模式电流2.5uA-3V VKD233DH(推荐)---工作电压/电流: 2.4V-5.5V/2.5uA-3V 1感应按键 封装:SOT23-6 通讯接口:直接输出,锁存(toggle)输出 有效键更长时间检测16S 标准触控IC-多键触摸按钮系列 VKD104SB/N --- 工作电压/电流:2.4V-5.5V/13uA-3V 感应通道数/按键数:4 通讯接口:直接输出,锁存输出,开漏输出 封装:SSOP-16 VKD104BC --- 工作电压/电流:2.4V-5.5V/13uA-3V 感应通道数/按键数:4 通讯接口:直接输出,锁存输出,开漏输出 封装:SOP-16 VKD104BR --- 工作电压/电流:2.4V-5.5V/13uA-3V 感应通道数/按键数:2 通讯接口:直接输出, toggle输出 封装:SOP-8 VKD104QB --- 工作电压/电流:2.4V-5.5V/13uA-3V 感应通道数/按键数:4 通讯接口:直接输出,锁存输出,开漏输出 封装:QFN-16 VKD1016B --- 工作电压/电流:2.4V-5.5V/20uA-3V 感应通道数/按键数:16-8 通讯接口:直接输出,锁存输出,开漏输出 封装:SSOP-28 VKD1016L --- 工作电压/电流:2.4V-5.5V/20uA-3V 感应通道数:16-8 通讯接口:直接输出,锁存输出,开漏输出 封装:SSOP-28 (元泰原厂授权 原装保障 工程技术支持 大量现货库存) 标准触控IC-VK36系列 VK3601SS --- 工作电压/电流:2.4V-5.5V/1mA-5.0V 感应通道数:1 通讯接口:1 INPUT/1PWM OUT 封装:SOP-8 VK3601S --- 工作电压/电流:2.4V-5.5V/4mA-3.3V 感应通道数:1 通讯接口:1 INPUT/1PWM OUT 封装:SOP-8 VK3602XS --- 工作电压/电流:2.4V-5.5V/ 60uA-3V 感应通道数:2 通讯接口:2对2 toggle输出 封装:SOP-8 VK3602K --- 工作电压/电流:2.4V-5.5V/ 60uA-3V 感应通道数:2 通讯接口:2对2 toggle输出 封装:SOP-8 VK3606DM --- 工作电压/电流:3.1V-5.5V/ 3mA-5V 感应通道数:6 通讯接口:1对1直接输出 封装:SOP-16 VK3606OM --- 工作电压/电流:3.1V-5.5V/ 3mA-5V 感应通道数:6 通讯接口:1对1开漏输出 封装:SOP-16 VK3608BM --- 工作电压/电流:3.1V-5.5V/ 3mA-5V 感应通道数:6 通讯接口:BCD码直接输出 封装:SOP-16 VK3610IM --- 工作电压/电流:3.1V-5.5V/ 3mA-5V 感应通道数:6 通讯接口:SCL/SDA/INT通讯口 封装:SOP-16 标准触控IC-VK37系列 VK3702DM --- 工作电压/电流:3.1V-5.5V/ 3mA-5V 感应通道数:2 通讯接口:1对1直接输出 封装:SOP-8 VK3702OM --- 工作电压/电流:3.1V-5.5V/ 3mA-5V 感应通道数:2 通讯接口:1对1开漏输出 封装:SOP-8 VK3702TM --- 工作电压/电流:3.1V-5.5V/ 3mA-5V 感应通道数:2 通讯接口:1对1toggle输出 封装:SOP-8 VK3706DM --- 工作电压/电流:3.1V-5.5V/ 3mA-5V 感应通道数:6 通讯接口:1对1直接输出 封装:SOP-16 VK3706OM --- 工作电压/电流:3.1V-5.5V/ 3mA-5V 感应通道数:6 通讯接口:1对1开漏输出 封装:SOP-16 VK3708BM --- 工作电压/电流:3.1V-5.5V/ 3mA-5V 感应通道数:8 通讯接口:BCD码直接输出 封装:SOP-16 VK3710IM --- 工作电压/电流:3.1V-5.5V/ 3mA-5V 感应通道数:10 通讯接口:SCL/SDA/INT通讯口 封装:SOP-16 标准触控IC-VK38系列 VK3809IP --- 工作电压/电流:2.5V-5.5V/1.1mA-3V 感应通道数:9 通讯接口:IIC/INT通讯口 封装:SSOP-16 VK3813IP --- 工作电压/电流:2.5V-5.5V/1.1mA-3V 感应通道数:13 通讯接口:IIC/INT通讯口 封装:SSOP-20 VK3816IP --- 工作电压/电流:2.5V-5.5V/1.1mA-3V 感应通道数:16 通讯接口:IIC/INT通讯口 封装:SSOP-28 VK3816IP-A --- 工作电压/电流:2.5V-5.5V/1.1mA-3V 感应通道数:16 通讯接口:IIC/INT通讯口 封装:SSOP-28 以上介绍内容为IC参数简介,难免有错漏,且相关IC型号众多,未能一一收录。欢迎联系索取完整资料及样品! 生意无论大小,做人首重诚信!本公司全体员工将既往开来,再接再厉。争取为各位带来更专业的技术支持,更优质的销售服务,更高性价比的好产品.竭诚希望能与各位客户朋友深入沟通,携手共进,共同成长,合作共赢!谢谢。
标签: VK 3708 3710 BM IM 多按键 抗干扰 防水 操作 触控
上传时间: 2019-07-10
上传用户:szqxw1688
一.產品描述 提供6個觸摸感應按鍵,一對一直接輸出,輸出為開漏(opendrain)型態,適合作AD鍵。對於防水和抗干擾方面有很優異的表現! 二。產品特色 1.工作電壓範圍:3.1V – 5.5V 2.工作電流: 3mA@5V 3.6 個觸摸感應按鍵 4.提供一對一的直接輸出,未按鍵為開漏(open drain)型態輸出,按鍵時為低電平。 5.可以經由調整 CAP 腳的外接電容,調整靈敏度,電容越大靈敏度越高 6.具有防水及水漫成片水珠覆蓋在觸摸按鍵面板,按鍵仍可有效判別 7.內建 LDO 增加電源的抗干擾能力 三。 產品應用 各種大小家電,娛樂產品 四.功能描述 1.VK3606OM 於手指按壓觸摸盤,在 60ms 內輸出對應按鍵的狀態。 2.單鍵優先判斷輸出方式處理, 如果 K1 已經承認了, 需要等K1 放開後, 其他按鍵才能再被承認,同時間只有一個按鍵狀態會被輸出。 3.具有防呆措施, 若是按鍵有效輸出連續超過 10 秒, 就會做復位。 4.環境調適功能,可隨環境的溫濕度變化調整參考值,確保按鍵判斷工作正常。 5.可分辨水與手指的差異,對水漫與水珠覆蓋按鍵觸摸盤,仍可正確判斷按鍵動作。但水不可於按鍵觸摸盤上形成“水柱”,若如此則如同手按鍵一般,會有按鍵承認輸出。 6.內建 LDO 及抗電源雜訊的處理程序,對電源漣波的干擾有很好的耐受能力。 7.K0~K5 中不使用的按鍵請接地,避免太過靈敏而產生誤動。 8.D0~D5 中不使用的輸出請接地,避免浮接會有漏電流的情 況。
标签: KEYS 3606 SOP 16 VK OM 抗干扰 防水
上传时间: 2019-08-08
上传用户:szqxw1688
The concept of smart cities emerged few years ago as a new vision for urban development that aims to integrate multiple information and communication technology (ICT) solutions in a secure fashion to manage a city’s assets. Modern ICT infrastructure and e-services should fuel sustainable growth and quality of life, enabled by a wise and participative management of natural resources to be ensured by citizens and government. The need to build smart cities became a requirement that relies on urban development that should take charge of the new infrastructures for smart cities (broadband infrastructures, wireless sensor networks, Internet-based networked applications, open data and open platforms) and provide various smart services and enablers in various domains including healthcare, energy, education, environmental management, transportation, mobility and public safety.
上传时间: 2020-05-25
上传用户:shancjb
During the past decade, many wireless communication techniques have been developedto achievevariousgoals suchas higherdata rate,morerobustlink quality, and higher number of users in a given bandwidth. For wireless communication systems, depending on the availability of a feedback link, two approaches can be considered: namely open and closed loop. open loop communication system that does not exploit the channel knowledge at the transmitter is now well understood from both a theoretical and practical point of view.
标签: Communication Strategies Feedback Wireless for
上传时间: 2020-05-27
上传用户:shancjb
The first Third Generation Partnership Project (3GPP) Wideband Code Division Multiple Access (WCDMA) networks were launched during 2002. By the end of 2005 there were 100 open WCDMA networks and a total of over 150 operators having frequency licenses for WCDMA operation. Currently, the WCDMA networks are deployedinUniversalMobileTelecommunicationsSystem(UMTS)bandaround2GHz in Europe and Asia including Japan and Korea. WCDMA in America is deployed in the existing 850 and 1900 spectrum allocations while the new 3G band at 1700/2100 is expected to be available in the near future. 3GPP has defined the WCDMA operation also for several additional bands, which are expected to be taken into use during the coming years.
标签: HSDPAHSUPA Access Speed Radio UMTS High for
上传时间: 2020-05-27
上传用户:shancjb
Reliable and accurate positioning and navigation is critical for a diverse set of emerging applications calling for advanced signal-processing techniques. This book provides an overview of some of the most recent research results in the field of signal processing for positioning and navigation, addressing many challenging open problems.
标签: Positioning Terrestrial Satellite Radio and
上传时间: 2020-06-01
上传用户:shancjb
This book addresses the issues on the development of next generation CDMA technologies and contains a lot of information on the subject from both the open literature and my own research activities in the last fifteen years.
标签: Technologies Generation Next CDMA The
上传时间: 2020-06-01
上传用户:shancjb
The world of home automation is an exciting field that has exploded over the past few years with many new technologies in both the commercial and open source worlds. This book provides a gateway for those interested in learning more about this topic and building their own projects. With the introduction of the Raspberry Pi computer in 2012, a small and powerful tool is now available for the home automation enthusiast, programmer, and electronic hobbyist. It allows them to augment their home with sensors and software.
标签: Automation Raspberry Home Pi
上传时间: 2020-06-06
上传用户:shancjb