include <stdio.h> /*標準輸入輸出定義*/ #include <stdlib.h> /*標準函數庫定義*/ #include <unistd.h> /*Unix標準函數定義*/ #include <sys/types.h> /**/ #include <sys/stat.h> /**/ #include <fcntl.h> /*文件控制定義*/ #include <termios.h> /*PPSIX終端控制定義*/ #include <errno.h> /*錯誤號定義*/ #define TRUE 1 #define FALSE 0 /***@brief 設置串口通信速率 *@
資源簡介:linux 下串口編程 #include <stdio.h> /*標準輸入輸出定義*/ #include <stdlib.h> /*標準函數庫定義*/ #include <unistd.h> /*Unix標準函數定義*/ #include <sys/types.h> /**/ #include <sys/stat.h> /**/ #include <fcntl.h> /*文件控制定義*/ #incl...
上傳時間: 2014-01-18
上傳用戶:xjz632
資源簡介:include <stdio.h> /*標準輸入輸出定義*/ #include <stdlib.h> /*標準函數庫定義*/ #include <unistd.h> /*Unix標準函數定義*/ #include <sys/types.h> /**/ #include <sys/stat.h> /**/ #include <fcntl.h> ...
上傳時間: 2017-05-07
上傳用戶:ljt101007
資源簡介:打開用戶終端。這果沒有使用標準輸入輸出,因為在重定向時,標準輸入輸出不會指向用戶終端
上傳時間: 2013-11-30
上傳用戶:busterman
資源簡介:GPIO (通用輸入/輸出)或總線擴展器利用工業標準I² C、SMBus™ 或SPI™ 接口簡化了I/O口的擴展。
上傳時間: 2013-11-30
上傳用戶:lnnn30
資源簡介:avr單片機下輸入輸出分析,將avr單片機的輸入輸出重定向到標準輸入輸出
上傳時間: 2013-12-14
上傳用戶:hustfanenze
資源簡介:基于ucos實現的模擬輸入輸出轉換模塊,修改簡單的底層函數便可移植到不同的平臺
上傳時間: 2013-12-19
上傳用戶:GHF
資源簡介:[問題描述] 在二叉排序樹中查找關鍵字為KEY的記錄 [輸入] 有序表輸入要查找元素的關鍵字 [輸出] 查找成功是即可顯示查找成功 #include <stdlib.h> #include <stdio.h> typedef int KeyType typedef struct{
上傳時間: 2015-11-16
上傳用戶:erkuizhang
資源簡介:BP神經網絡程序,C語言源代碼 如下: #include "iostream.h" #include "iomanip.h" #include "stdlib.h" #include "math.h" #include "stdio.h" #include "time.h" #include "fstream.h" #define N 120 //學習樣本個數 #define IN 3 //輸入層神經元...
上傳時間: 2017-06-15
上傳用戶:xinzhch
資源簡介:標準I/O輸入輸出工具
上傳時間: 2015-02-19
上傳用戶:xiaoxiang
資源簡介:感知器的VC實現#include "percept.h" #include "stdio.h" #include "stdlib.h"
上傳時間: 2013-12-17
上傳用戶:偷心的海盜
資源簡介:#include <stdio.h> #include <string.h> #include <stdlib.h> #include <malloc.h> #include <math.h> #include <conio.h> struct DuLNode{ struct DuLNode *prior int data struct DuLNode *next
上傳時間: 2014-01-01
上傳用戶:caiiicc
資源簡介:基于終端的訂花系統_socket #include<stdio.h> #include<stdlib.h> #include<errno.h> #include<string.h> #include<sys/types.h> #include<netinet/in.h> #include<sys/socket.h> #include<sys/wait.h> #include<sys/ipc.h> #include<unistd....
上傳時間: 2014-01-18
上傳用戶:003030
資源簡介:五子棋小游戲#include<stdlib.h> #include<time.h> #include<stdio.h> #include<conio.h> int chess[169]={0} /*棋盤*/ struct chess_t/*作為輔助,即是作為建意*/ { char attack /*攻防用的,0表示守,1表示攻*/ int j /*作為優先級用*/ }chess_a...
上傳時間: 2016-05-18
上傳用戶:anng
資源簡介:設計一FIR低通濾波器 0=<|w|<=0.25Pi,輸入n代表FIR濾波器的長度,輸出H(ejw)幅度值,N代表輸出數,Hbs[N]存放H(ejw)的幅度值,h[n]存放H[z]的系數,算法采用Hamming窗函數
上傳時間: 2016-06-28
上傳用戶:a6697238
資源簡介:操作系統課程設計_進程調度演示源程序 #include "stdio.h" #include "stdlib.h" #include "string.h" typedef struct node { char name[10] /*進程標識符*/ int prio /*進程優先數*/ int round /*進程時間輪轉時間片*/ int cputime /*進程占...
上傳時間: 2016-08-09
上傳用戶:鳳臨西北
資源簡介:|-- p6.1.c 獲得標準輸入、輸出和錯誤輸出的終端名稱 |-- p6.2.c 修改終端控制字符示例 |-- p6.3.c 使用curses實現密碼輸入 |-- p6.4.c 使用tcgetattr函數和tcsetattr函數實現密碼輸入 |-- p6.5.c 串口進行讀寫示例 |-- p6.6.c 揚聲器發聲程序 |-- p6.7...
上傳時間: 2016-10-28
上傳用戶:偷心的海盜
資源簡介:溫度華氏轉變攝氏 #include <stdio.h> #include <stdlib.h> enum x {A,B,C,D,E} int main(void) { int a=73,b=85,c=66 { if (a>=90) printf("a=A等級!!\n") else if (a>=80) printf("73分=B等級!!\n") else if (a>=70) printf(...
上傳時間: 2014-11-10
上傳用戶:wpwpwlxwlx
資源簡介:溫度華氏轉變攝氏 #include <stdio.h> #include <stdlib.h> enum x {A,B,C,D,E} int main(void) { int a=73,b=85,c=66 { if (a>=90) printf("a=A等級!!\n") else if (a>=80) printf("73分=B等級!!\n") else if (a>=70) printf(...
上傳時間: 2013-12-12
上傳用戶:亞亞娟娟123
資源簡介:成績顯示三個部份abc #include<stdio.h> #include<stdlib.h> int main(void) { float gread printf("請輸入分數\n") scanf("%f",&gread) if(gread>=80&&gread<=100) printf("成績為A\n") else if(gread>=60&&gread<=79) { printf("...
上傳時間: 2014-01-15
上傳用戶:waizhang
資源簡介:河內塔問題 #include<stdio.h> #include<stdlib.h> int fun_a(int) void fun_b(int,int,int,int) int main(void) { int n int option printf("題目二:河內塔問題\n") printf("請輸入要搬移的圓盤數目\n") scanf("%d",&n) printf("...
上傳時間: 2016-12-08
上傳用戶:努力努力再努力
資源簡介:指定一個數字轉換回十進位,八進位,十六進位#include <stdio.h> #include <stdlib.h> int main(void) { int number =89 printf("數字 %d\n",number) /* %d 為十進位輸出格式*/ printf("八進位為 %o\n",number) /* %o 為八進位輸出格式*/ ...
上傳時間: 2013-11-29
上傳用戶:tyler
資源簡介:幀緩沖#include <stdio.h> #include <stdlib.h> #include <string.h> #include <stdint.h> #include <unistd.h> #include <fcntl.h> #include <sys/ioctl.h> #include <sys/mman.h> #include <asm/page.h> #include <linux/fb.h> #def...
上傳時間: 2013-12-11
上傳用戶:bjgaofei
資源簡介://順序表的建立、查找、插入與刪除 #include <stdio.h> #include <malloc.h> #include <stdlib.h> #define ListSize 100 //表最大長度 //結構定義 typedef struct SeqList { int node[ListSize] //存放表結點 int length //當前表長度 } SeqLis...
上傳時間: 2014-01-17
上傳用戶:dongqiangqiang
資源簡介:#include <stdio.h> #include <stdlib.h> #define OK 1 #define OVERFLOW -2 typedef int status typedef struct LinkList{ //用帶表頭結點的有序鏈表表示多項式 float coef //系數 int expn //指數 struct LinkList *next //指向...
上傳時間: 2014-12-06
上傳用戶:1079836864
資源簡介::#include <stdlib.h>#include <stdio.h>#include <time.h> void InsertSort(int a[],int *(k1),int *(k2))//0:直接插入排序{ int i,j int temp *(k1)=0 *(k2)=0 for(i=0 i<149 i++) { temp=a[i+1] *(k2)++ ...
上傳時間: 2014-11-30
上傳用戶:362279997
資源簡介:順序棧的出棧、入棧、求棧長等基本操作 #include <stdio.h> #include <stdlib.h> #define STACKSIZE 50 typedef char DateType typedef struct
上傳時間: 2014-01-10
上傳用戶:daguda
資源簡介:第3章 Java輸入/輸出編程 109 實例35 讀取文件 110 實例36 寫入文件 111 實例37 壓縮文件 112 實例38 打印文本文件 114 實例39 讀取配置文件 115 實例40 流操作 117 實例41 管道操作 118 實例42 標準I/O重定向 121 ...
上傳時間: 2016-03-07
上傳用戶:cazjing
資源簡介:C語言在微機輸入輸出與接口技術中的應用范例 的程序,標準的實際里子
上傳時間: 2013-12-17
上傳用戶:zhouli
資源簡介:#include<stdlib.h> #include "dos.h" #include "graphics.h" #include "math.h" #define PI 3.1415926 #define NULL 0 #include<stdio.h> #include<string.h>
上傳時間: 2013-12-29
上傳用戶:王者A
資源簡介:介紹了一種基于ARM9 和CPLD 架構的嵌入式輸入輸出系統的軟硬件設計。系統以工業級EP9315 為核心,擴展了LCD、觸摸屏、以太網、串口和USB 等控制接口;以MAX2_EPM240為核
上傳時間: 2013-05-27
上傳用戶:pwcsoft