1 安裝:首先安裝MPLAB IDE V7.42的程序,然后再安裝C的組件PICC8.05-PL.安裝過(guò)程中全部確認(rèn)選擇,完畢后重啟計(jì)算機(jī)。 2 激活:(PICC8.05-PL) 運(yùn)行“開始”菜單下的“HI-TECH SOFTWARE”中的 激活(Complier Activation)程序, 再同時(shí)啟動(dòng)算號(hào)器程序(HtkeyGen.exe),將Last Name前的勾去掉,填入公司名稱,算出相應(yīng)內(nèi) 容填入激活程序相應(yīng)欄目,OK即可完成激活。 3 設(shè)置: 3.1 將MPLAB 7.42啟動(dòng)后,在文件欄中打開C的桌面項(xiàng)目文件,在Project欄目中 檢查 select language Toolsuite...中的選項(xiàng),所有路徑須指向安裝路徑如C:\HT-PIC\BIN\PICC.EXE; 3.2 在Project欄目中檢查 setlanguage Tool Locations中的HI-TECH ToolsuiteXDGR 相關(guān)選項(xiàng),executables中各程序應(yīng)指向picc.exe Default Search Paths & Directories中 的相關(guān)路徑應(yīng)為安裝目錄如C:\HT-PIC\include 和C:\HT-PIC\lib; 3.3 設(shè)置programmer中的select programmer選項(xiàng)為"MPLAB IED 2"(經(jīng)驗(yàn):如果不打開編譯器,此選項(xiàng)無(wú)法選中)。 3.4 設(shè)置單片機(jī)型號(hào),在Congfigure中的Select Device選擇準(zhǔn)確的芯片型號(hào);
上傳時(shí)間: 2016-01-01
上傳用戶:Ants
學(xué)會(huì)對(duì)文件的記錄鎖定,及解鎖。#include <stdio.h> #include <unistd.h> #include <fcntl.h> int main() { int fd int i struct { char name[20] uint ID int age } myrec fd =open("name", O_RDWR|O_CREAT, 0755) if (fd == -1) return -1 printf("Input your name:") scanf("%s", myrec.name) printf("Inpute your ID :") scanf("%d", &myrec.ID) printf("Input your age :") scanf("%d", &myrec.age) lseek(fd, 0,SEEK_END) lockf(fd, 1, 0) write(fd, (void *)&myrec, sizeof(myrec)) lockf(fd, 0 ,0) return 0 } 執(zhí)行命令cc lock.c –o lock.out Chmod +x lock.out ./lock.out
標(biāo)簽: 記錄
上傳時(shí)間: 2016-01-04
上傳用戶:亞亞娟娟123
Matrix TCL Lite 1.12 This matrix C++ template class library is for performing common matrix operations in your C++ program like any other built-in data types. To install the package, just copy MATRIX.H file into the INCLUDE directory of your compiler and include this header file in your program source file.
標(biāo)簽: matrix performing template library
上傳時(shí)間: 2016-01-05
上傳用戶:h886166
/// /// /// /// /// /// / ///文 件:.cs ///概 要:針對(duì)國(guó)內(nèi)短信解碼(USC2) ///組成結(jié)構(gòu):包含四個(gè)函數(shù): /// 1、GetEverySMS(string SMS) /// 2、GetTelphone(string SMS) /// 3、GetDataTime(string SMS) /// 4、GetContent(string SMS)
上傳時(shí)間: 2016-01-07
上傳用戶:Amygdala
Delphi的IP輸入控件,可以直接使用IPString取出輸入的IP地址,返回String
上傳時(shí)間: 2013-12-24
上傳用戶:15071087253
This directory contains the memtest 8051 firmware for the Anchor Chips EZ-USB chip. The purpose of this software is to test the different memory segments in the Ez-Usb chip. This example will output the string "good" on the 7 segment LED if the mem test passes, or it will output the first address where the memtest fails.
標(biāo)簽: directory the contains firmware
上傳時(shí)間: 2013-12-16
上傳用戶:gdgzhym
Linux 2.4.18 s3c2440 led driver 使用dev-C++撰寫,需要linux 2.4.18 kernel include,編譯完成後產(chǎn)生led module。 insmod main.o //安裝模組 mknod /dev/leds c 221 0 使用方法: int main(int argc, char *argv[]) { int testdev //led test... testdev = open("/dev/QuickMarkLed",O_RDWR) ioctl(testdev, 2, 1) //ioctl(device, led number, open/close) open=1 ioctl(testdev, argv[1][0]- 0 , argv[2][0]- 0 ) //ioctl(device, led number, open/close) open=1 close(testdev) return 0 }
標(biāo)簽: s3c2440 driver Linux dev-C
上傳時(shí)間: 2014-01-01
上傳用戶:qlpqlq
C++是在C語(yǔ)言的基礎(chǔ)上開發(fā)的一種集面向?qū)ο缶幊獭⑼ㄓ镁幊毯蛡鹘y(tǒng)的過(guò)程性編程于一體的編程語(yǔ)言,是C語(yǔ)言的超集。本書是根據(jù)1998年的ISO/ANSI C++標(biāo)準(zhǔn)編寫的,通過(guò)大量短小精悍的程序詳細(xì)而全面地闡述了C++的基本概念和技術(shù)。 全書分17章和10個(gè)附錄。分別介紹了C++程序的運(yùn)行方式、基本數(shù)據(jù)類型、復(fù)合數(shù)據(jù)類型、循環(huán)和關(guān)系表達(dá)式、分支語(yǔ)句和邏輯操作符、函數(shù)重載和函數(shù)模板、內(nèi)存模型和名稱空間、類的設(shè)計(jì)和使用、多態(tài)、虛函數(shù)、動(dòng)態(tài)內(nèi)存分配、繼承、代碼重用、友元、異常處理技術(shù)、string類和標(biāo)準(zhǔn)模板庫(kù)、輸入/輸出等內(nèi)容。 本書針對(duì)的是C++初學(xué)者,書中從C語(yǔ)言基礎(chǔ)知識(shí)開始介紹,然后在此基礎(chǔ)上詳細(xì)闡述C++新增的特性,因此不要求讀者有C語(yǔ)言方面的背景知識(shí)。本書可作為大中院校教授C++課程的教材,也可供初學(xué)者自學(xué)C++時(shí)使用。
標(biāo)簽: 編程 C語(yǔ)言 對(duì)象 過(guò)程
上傳時(shí)間: 2016-01-22
上傳用戶:zuozuo1215
baidu 本程序是用JNI技術(shù)實(shí)現(xiàn)的讀取硬盤序列號(hào) 將ChenminDiskIDJoc.jar 加入環(huán)境變量 這兩個(gè)文件放入window 文件夾 或者JDK的bin文件夾 或者你的應(yīng)用文件夾 DiskID32.dll DiskID.dll public static String chenmin.io.DiskID.Factory() 返回硬盤廠家 public static String chenmin.io.DiskID.DiskID() 返回硬盤序列號(hào) ChenminDiskIDTest.bat 將啟動(dòng)直接演示一個(gè)讀取硬盤序列號(hào)的測(cè)試 測(cè)試讀取硬盤序列號(hào)的源代碼在ChenminDiskIDTest.jar中
標(biāo)簽: ChenminDiskIDJoc window baidu JNI
上傳時(shí)間: 2016-01-22
上傳用戶:康郎
jSP編寫的了BBS系統(tǒng) 架設(shè)方法 : 解壓縮dzbbs.zip後,打開dzbbs/set.jsp,修改以下 try{ cn=DriverManager.getConnection("jdbc:mysql://localhost/mysql?useUnicode=true&characterEncoding=big5","root","pass") // mysql為資料庫(kù)名稱,root 為用戶帳號(hào) , pass為用戶密碼 }catch(Exception e){ } String bbs_name="DzBBS" //論壇名稱 String temple="default" //風(fēng)格模版 String adminpass="pass" //管理員密碼 設(shè)定好後運(yùn)行http://user.net/dzbbs,然後再注冊(cè)成為會(huì)員即可,密碼需要和上面所設(shè)定的一樣 免費(fèi)論壇空間推薦 MyJavaServer+db4free 完美組合 MyJavaServer是國(guó)外免費(fèi)5mb空間 如何申請(qǐng)請(qǐng)看 http://blog.csdn.net/leafxx/archive/2006/10/02/1317960.aspx db4free是國(guó)外免費(fèi)Mysql空間
上傳時(shí)間: 2013-12-10
上傳用戶:yimoney
蟲蟲下載站版權(quán)所有 京ICP備2021023401號(hào)-1