1 安裝:首先安裝MPLAB IDE V7.42的程序,然后再安裝C的組件PICC8.05-PL.安裝過程中全部確認選擇,完畢后重啟計算機。 2 激活:(PICC8.05-PL) 運行“開始”菜單下的“HI-TECH SOFTWARE”中的 激活(Complier Activation)程序, 再同時啟動算號器程序(HtkeyGen.exe),將Last Name前的勾去掉,填入公司名稱,算出相應內 容填入激活程序相應欄目,OK即可完成激活。 3 設置: 3.1 將MPLAB 7.42啟動后,在文件欄中打開C的桌面項目文件,在Project欄目中 檢查 select language Toolsuite...中的選項,所有路徑須指向安裝路徑如C:\HT-PIC\BIN\PICC.EXE; 3.2 在Project欄目中檢查 setlanguage Tool Locations中的HI-TECH ToolsuiteXDGR 相關選項,executables中各程序應指向picc.exe Default Search Paths & Directories中 的相關路徑應為安裝目錄如C:\HT-PIC\include 和C:\HT-PIC\lib; 3.3 設置programmer中的select programmer選項為"MPLAB IED 2"(經驗:如果不打開編譯器,此選項無法選中)。 3.4 設置單片機型號,在Congfigure中的Select Device選擇準確的芯片型號;
上傳時間: 2016-01-01
上傳用戶:Ants
學會對文件的記錄鎖定,及解鎖。#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 } 執行命令cc lock.c –o lock.out Chmod +x lock.out ./lock.out
標簽: 記錄
上傳時間: 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.
標簽: matrix performing template library
上傳時間: 2016-01-05
上傳用戶:h886166
/// /// /// /// /// /// / ///文 件:.cs ///概 要:針對國內短信解碼(USC2) ///組成結構:包含四個函數: /// 1、GetEverySMS(string SMS) /// 2、GetTelphone(string SMS) /// 3、GetDataTime(string SMS) /// 4、GetContent(string SMS)
上傳時間: 2016-01-07
上傳用戶:Amygdala
Delphi的IP輸入控件,可以直接使用IPString取出輸入的IP地址,返回String
上傳時間: 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.
標簽: directory the contains firmware
上傳時間: 2013-12-16
上傳用戶:gdgzhym
Linux 2.4.18 s3c2440 led driver 使用dev-C++撰寫,需要linux 2.4.18 kernel include,編譯完成後產生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 }
標簽: s3c2440 driver Linux dev-C
上傳時間: 2014-01-01
上傳用戶:qlpqlq
C++是在C語言的基礎上開發的一種集面向對象編程、通用編程和傳統的過程性編程于一體的編程語言,是C語言的超集。本書是根據1998年的ISO/ANSI C++標準編寫的,通過大量短小精悍的程序詳細而全面地闡述了C++的基本概念和技術。 全書分17章和10個附錄。分別介紹了C++程序的運行方式、基本數據類型、復合數據類型、循環和關系表達式、分支語句和邏輯操作符、函數重載和函數模板、內存模型和名稱空間、類的設計和使用、多態、虛函數、動態內存分配、繼承、代碼重用、友元、異常處理技術、string類和標準模板庫、輸入/輸出等內容。 本書針對的是C++初學者,書中從C語言基礎知識開始介紹,然后在此基礎上詳細闡述C++新增的特性,因此不要求讀者有C語言方面的背景知識。本書可作為大中院校教授C++課程的教材,也可供初學者自學C++時使用。
上傳時間: 2016-01-22
上傳用戶:zuozuo1215
baidu 本程序是用JNI技術實現的讀取硬盤序列號 將ChenminDiskIDJoc.jar 加入環境變量 這兩個文件放入window 文件夾 或者JDK的bin文件夾 或者你的應用文件夾 DiskID32.dll DiskID.dll public static String chenmin.io.DiskID.Factory() 返回硬盤廠家 public static String chenmin.io.DiskID.DiskID() 返回硬盤序列號 ChenminDiskIDTest.bat 將啟動直接演示一個讀取硬盤序列號的測試 測試讀取硬盤序列號的源代碼在ChenminDiskIDTest.jar中
標簽: ChenminDiskIDJoc window baidu JNI
上傳時間: 2016-01-22
上傳用戶:康郎
jSP編寫的了BBS系統 架設方法 : 解壓縮dzbbs.zip後,打開dzbbs/set.jsp,修改以下 try{ cn=DriverManager.getConnection("jdbc:mysql://localhost/mysql?useUnicode=true&characterEncoding=big5","root","pass") // mysql為資料庫名稱,root 為用戶帳號 , pass為用戶密碼 }catch(Exception e){ } String bbs_name="DzBBS" //論壇名稱 String temple="default" //風格模版 String adminpass="pass" //管理員密碼 設定好後運行http://user.net/dzbbs,然後再注冊成為會員即可,密碼需要和上面所設定的一樣 免費論壇空間推薦 MyJavaServer+db4free 完美組合 MyJavaServer是國外免費5mb空間 如何申請請看 http://blog.csdn.net/leafxx/archive/2006/10/02/1317960.aspx db4free是國外免費Mysql空間
上傳時間: 2013-12-10
上傳用戶:yimoney