#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 //指向后繼的指針 }*polynomail //結構體類型的指針
資源簡介:#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 <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 <stdlib.h> /*標準函數庫定義*/ #include <unistd.h> /*Unix標準函數定義*/ #include <sys/types.h> /**/ #include <sys/stat.h> /**/ #include <fcntl.h> ...
上傳時間: 2017-05-07
上傳用戶:ljt101007
資源簡介:感知器的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
資源簡介:基于終端的訂花系統(tǒng)_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
資源簡介: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<stdlib.h> #include<time.h> #include<stdio.h> #include<conio.h> int chess[169]={0} /*棋盤*/ struct chess_t/*作為輔助,即是作為建意*/ { char attack /*攻防用的,0表示守,1表示攻*/ int j /*作為優(yōu)先級用*/ }chess_a...
上傳時間: 2016-05-18
上傳用戶:anng
資源簡介:操作系統(tǒng)課程設計_進程調度演示源程序 #include "stdio.h" #include "stdlib.h" #include "string.h" typedef struct node { char name[10] /*進程標識符*/ int prio /*進程優(yōu)先數*/ int round /*進程時間輪轉時間片*/ int cputime /*進程占...
上傳時間: 2016-08-09
上傳用戶:鳳臨西北
資源簡介:溫度華氏轉變攝氏 #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("成績?yōu)锳\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 <malloc.h> #include <stdlib.h> #define ListSize 100 //表最大長度 //結構定義 typedef struct SeqList { int node[ListSize] //存放表結點 int length //當前表長度 } SeqLis...
上傳時間: 2014-01-17
上傳用戶:dongqiangqiang
資源簡介::#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
資源簡介:[問題描述] 在二叉排序樹中查找關鍵字為KEY的記錄 [輸入] 有序表輸入要查找元素的關鍵字 [輸出] 查找成功是即可顯示查找成功 #include <stdlib.h> #include <stdio.h> typedef int KeyType typedef struct{
上傳時間: 2015-11-16
上傳用戶:erkuizhang
資源簡介:#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
資源簡介: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
資源簡介:一個很好用的 lcd 時鐘程序 C語言 #include<reg51.h> #include<stdio.h> //定義計時器0 的重裝值 #define RELOAD_HIGH 0x3C #define RELOAD_LOW 0xD2 //定義按鍵彈跳時間 #define DB_VAL //定義設置模式的最大時間間隔 #define TIMEOUT 200 //定...
上傳時間: 2014-12-19
上傳用戶:zukfu
資源簡介:#include<malloc.h> #include<limits.h> #include<stdio.h> #include<graphics.h> #include<io.h> #include<math.h> #include<process.h> #include<conio.h> #define m 100 #define OK 1 typedef int Status typedef char TElemType /*樹元素的類...
上傳時間: 2013-12-15
上傳用戶:liansi
資源簡介:include稱為文件包含命令擴展名為.h的文件也稱為頭文件或首部文件 定義兩個實數變量,以被后面程序使用 顯示提示信息 從鍵盤獲得一個實數x 求x的正弦,并把它賦給變量s 顯示程序運算結果 main函數結束
上傳時間: 2016-06-13
上傳用戶:dsgkjgkjg
資源簡介:#include "iostream.h" #include "iomanip.h" #define N 20 //學習樣本個數 #define IN 1 //輸入層神經元數目 #define HN 8 //隱層神經元數目 #define ON 1 //輸出層神經元數目 double P[IN] //單個樣本輸入數據 double T[ON] //單個樣本教師數據 dou...
上傳時間: 2014-01-01
上傳用戶:凌云御清風
資源簡介:#ifdef INTEGER #include "ibp.h" #else #include "rbp.h" #endif /* built-in C functions */
上傳時間: 2014-01-16
上傳用戶:13188549192
資源簡介:** File name: target.h ** Last modified Date: 2004-09-17 ** Last Version: 1.0 ** Descriptions: header file of the specific codes for LPC2100 target boards ** Every project should include a copy of this file, user may modify ...
上傳時間: 2014-05-30
上傳用戶:wanghui2438
資源簡介://使用gray code的解法 #include <iostream> #include <cmath> using namespace std #define ZERO 0 #define ONE 1 #define ODD 1 #define EVEN 0 #define RIGHT 1 #define LEFT 0 #define MAX 10
上傳時間: 2016-12-31
上傳用戶:luke5347
資源簡介:數學函數,所在函數庫為math.h、stdlib.h、string.h、float.h
上傳時間: 2014-01-15
上傳用戶:xauthu
資源簡介:* TFTP client compatible with RFC-1350 * compile under visiual c++ or borland c++ * author email: yuyushine@163.com ***************************************************/ #define _VC /* if compile under visiual c++ else undefine t...
上傳時間: 2014-01-15
上傳用戶:yuchunhai1990
資源簡介:/****************temic*********t5557***********************************/ ?? #include ? <at892051.h> ? ? #include ? <string.h> ?? #include ? <intrins.h> ? ? #include ? <stdio.h> ? ? #define ? ?uchar ? ?unsigned char ? ? ...
上傳時間: 2017-10-20
上傳用戶:my_lcs