ID3,數據挖掘 決策書算法 vc中的具體實現 數據挖掘工具 cls算法擴展
上傳時間: 2015-03-26
上傳用戶:hj_18
Polynomial fit functions === === === === RegressionObject.cls contains a class that provides an easy way to add polynomial regression functionality to any application. If you just want linear regression or a very high degree, no matter: this class has good performance and scales seamlessly with the complexity of your problem.
標簽: RegressionObject Polynomial functions contains
上傳時間: 2015-04-06
上傳用戶:rocwangdp
用超級終端通過串口模擬的一個小Shell.已經實現的命令:cls
上傳時間: 2015-06-17
上傳用戶:王者A
一個nasm寫的引導程序,功能混亂的引導程序,已實現命令行界面,實現cls,reboot命令
上傳時間: 2014-01-13
上傳用戶:xaijhqx
C#是一種簡單、現代、面向對象和類型安全的編程語言,由C和C++發展而來。C#(發音為“C霎普”)牢固地植根于C和C++語言族譜中,并且會很快被C和C++程序員所熟悉。C#的目標在于把Visual Basic的高生產力和C++本身的能力結合起來。 C#作為Microsoft Visual Studio 7.0的一部分提供給用戶。除了C#以外,Visual Studio還支持Visual Basic、Visual C++和描述語言VBScript和Jscript。所有這些語言都提供對Microsoft .NET平臺的訪問能力,它包括一個通用的執行引擎和一個豐富的類庫。Microsoft .NET平臺定義了一個“通用語言子集”(cls),是一種混合語言,它可以增強cls兼容語言和類庫間的無縫協同工作能力。對于C#開發者,這意味著既是C#是一種新的語言,它已經可以對用老牌工具如Visual Basic和Visual C++使用的豐富類庫進行完全訪問。C#自己并沒有包含一個類庫。 本章的其余部分描述這種語言的基本特性。以后的章節將會詳細描述規則和例外,并且有些時候以數學的方式描述,而這章會致力于對整體的簡單而清楚地介紹。這樣的目的是給讀者一個關于語言的介紹,這樣可以使讀者可以更容易地開始編寫程序和繼續閱讀后面的章節。
上傳時間: 2014-06-19
上傳用戶:ikemada
微型操作系統,想知道操作系統秘密的初學者可以在這起步。 文件列表: 1 micro-os.img 已編好的軟盤映象。 2 micro-os_kernel.bin 命令核心二進制代碼 3 micro-os_loader.boot 啟動二進制代碼 4 micro-os_loader.asm micro-os_kernel.asm 源文件 用法:1 編譯源文件 2 將loader.boot 用工具寫入軟盤0道0頭1扇區 kernel.bin寫入0.0.2-0.0.n (n<10) 在 0.0.1的最后兩個字節寫入55h ,aah 3 啟動 有幾個可用命令 help cls quit exit reboot
標簽: 操作系統
上傳時間: 2013-12-11
上傳用戶:zwei41
int main(int argc,char *argv[]) { char ch while(true) { printf("*************************************\n") printf(" 1.Reader Priority\n") printf(" 2.Writer Priority\n") printf(" 3.Exit to Windows\n") printf("*************************************\n") printf("Enter your choice(1,2,3): ") do{ ch=(char)_getch() }while(ch!= 1 &&ch!= 2 &&ch!= 3 ) system("cls") if(ch== 3 ) return 0 else if(ch== 1 ) ReaderPriority("thread.dat") else WriterPriority("thread.dat") printf("\nPress Any Key to Coutinue:") _getch() system("cls") } return 0
上傳時間: 2017-01-06
上傳用戶:gonuiln
這個是C#的簡單幫助文檔,CSDN上找到的,有300多人下載過此PDF C#是一種簡單、現代、面向對象和類型安全的編程語言,由 C和C++發展而來。C#(發音為“C 霎普”)牢固地植根于 C和 C++語言族譜中,并且會很快被 C和 C++程序員所熟悉。C#的目標在于把 Visual Basic的高生產力和 C++本身的能力結合起來。 C#作為Microsoft Visual Studio 7.0的一部分提供給用戶。除了 C#以外,Visual Studio還支持Visual Basic、Visual C++和描述語言VBScript和Jscript。所有這些語言都提供對Microsoft .NET平臺的訪問能 力,它包括一個通用的執行引擎和一個豐富的類庫。Microsoft .NET平臺定義了一個“通用語言子集” (cls),是一種混合語言,它可以增強 cls兼容語言和類庫間的無縫協同工作能力。對于 C#開發者, 這意味著既是 C#是一種新的語言,它已經可以對用老牌工具如Visual Basic和 Visual C++使用的豐富類 庫進行完全訪問。C#自己并沒有包含一個類庫。
上傳時間: 2017-06-25
上傳用戶:xz85592677
#include<stdio.h> #include<stdlib.h> #include<conio.h> #include<string.h> main(void) { char new_name[4], name[4]; int new_sn ,sn; printf(" 【注冊】\n\n"); printf("請輸入用戶名(四位英文字母):"); scanf("%s", &new_name); printf("請輸入密碼(六位數字):") ; scanf("%d" ,&new_sn); /*system("PAUSE");*/ system("cls");/*清屏*/ /*system("PAUSE");*/ printf(" 【登陸】\n\n"); printf("輸入用戶名:"); scanf("%s" , &name); if(!strcmp(new_name,name)){printf("輸入用戶名錯誤!"); }/*判斷用戶是否正確*/ printf("輸入密碼:"); scanf("%d" , &sn); if(new_sn != sn){printf("輸入密碼錯誤!"); }/*判斷密碼是否正確*/ system("cls"); printf("恭喜你,登陸成功!\n"); getchar(); return 0; }
標簽: C語言
上傳時間: 2015-12-30
上傳用戶:gjatd1987
#include <malloc.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #define NULL 0 #define MaxSize 30 typedef struct athletestruct /*運動員*/ { char name[20]; int score; /*分數*/ int range; /**/ int item; /*項目*/ }ATH; typedef struct schoolstruct /*學校*/ { int count; /*編號*/ int serial; /**/ int menscore; /*男選手分數*/ int womenscore; /*女選手分數*/ int totalscore; /*總分*/ ATH athlete[MaxSize]; /**/ struct schoolstruct *next; }SCH; int nsc,msp,wsp; int ntsp; int i,j; int overgame; int serial,range; int n; SCH *head,*pfirst,*psecond; int *phead=NULL,*pafirst=NULL,*pasecond=NULL; void create(); void input () { char answer; head = (SCH *)malloc(sizeof(SCH)); /**/ head->next = NULL; pfirst = head; answer = 'y'; while ( answer == 'y' ) { Is_Game_DoMain: printf("\nGET Top 5 when odd\nGET Top 3 when even"); printf("\n輸入運動項目序號 (x<=%d):",ntsp); scanf("%d",pafirst); overgame = *pafirst; if ( pafirst != phead ) { for ( pasecond = phead ; pasecond < pafirst ; pasecond ++ ) { if ( overgame == *pasecond ) { printf("\n這個項目已經存在請選擇其他的數字\n"); goto Is_Game_DoMain; } } } pafirst = pafirst + 1; if ( overgame > ntsp ) { printf("\n項目不存在"); printf("\n請重新輸入"); goto Is_Game_DoMain; } switch ( overgame%2 ) { case 0: n = 3;break; case 1: n = 5;break; } for ( i = 1 ; i <= n ; i++ ) { Is_Serial_DoMain: printf("\n輸入序號 of the NO.%d (0<x<=%d): ",i,nsc); scanf("%d",&serial); if ( serial > nsc ) { printf("\n超過學校數目,請重新輸入"); goto Is_Serial_DoMain; } if ( head->next == NULL ) { create(); } psecond = head->next ; while ( psecond != NULL ) { if ( psecond->serial == serial ) { pfirst = psecond; pfirst->count = pfirst->count + 1; goto Store_Data; } else { psecond = psecond->next; } } create(); Store_Data: pfirst->athlete[pfirst->count].item = overgame; pfirst->athlete[pfirst->count].range = i; pfirst->serial = serial; printf("Input name:) : "); scanf("%s",pfirst->athlete[pfirst->count].name); } printf("\n繼續輸入運動項目(y&n)?"); answer = getchar(); printf("\n"); } } void calculate() /**/ { pfirst = head->next; while ( pfirst->next != NULL ) { for (i=1;i<=pfirst->count;i++) { if ( pfirst->athlete[i].item % 2 == 0 ) { switch (pfirst->athlete[i].range) { case 1:pfirst->athlete[i].score = 5;break; case 2:pfirst->athlete[i].score = 3;break; case 3:pfirst->athlete[i].score = 2;break; } } else { switch (pfirst->athlete[i].range) { case 1:pfirst->athlete[i].score = 7;break; case 2:pfirst->athlete[i].score = 5;break; case 3:pfirst->athlete[i].score = 3;break; case 4:pfirst->athlete[i].score = 2;break; case 5:pfirst->athlete[i].score = 1;break; } } if ( pfirst->athlete[i].item <=msp ) { pfirst->menscore = pfirst->menscore + pfirst->athlete[i].score; } else { pfirst->womenscore = pfirst->womenscore + pfirst->athlete[i].score; } } pfirst->totalscore = pfirst->menscore + pfirst->womenscore; pfirst = pfirst->next; } } void output() { pfirst = head->next; psecond = head->next; while ( pfirst->next != NULL ) { // clrscr(); printf("\n第%d號學校的結果成績:",pfirst->serial); printf("\n\n項目的數目\t學校的名字\t分數"); for (i=1;i<=ntsp;i++) { for (j=1;j<=pfirst->count;j++) { if ( pfirst->athlete[j].item == i ) { printf("\n %d\t\t\t\t\t\t%s\n %d",i,pfirst->athlete[j].name,pfirst->athlete[j].score);break; } } } printf("\n\n\n\t\t\t\t\t\t按任意建 進入下一頁"); getchar(); pfirst = pfirst->next; } // clrscr(); printf("\n運動會結果:\n\n學校編號\t男運動員成績\t女運動員成績\t總分"); pfirst = head->next; while ( pfirst->next != NULL ) { printf("\n %d\t\t %d\t\t %d\t\t %d",pfirst->serial,pfirst->menscore,pfirst->womenscore,pfirst->totalscore); pfirst = pfirst->next; } printf("\n\n\n\t\t\t\t\t\t\t按任意建結束"); getchar(); } void create() { pfirst = (struct schoolstruct *)malloc(sizeof(struct schoolstruct)); pfirst->next = head->next ; head->next = pfirst ; pfirst->count = 1; pfirst->menscore = 0; pfirst->womenscore = 0; pfirst->totalscore = 0; } void Save() {FILE *fp; if((fp = fopen("school.dat","wb"))==NULL) {printf("can't open school.dat\n"); fclose(fp); return; } fwrite(pfirst,sizeof(SCH),10,fp); fclose(fp); printf("文件已經成功保存\n"); } void main() { system("cls"); printf("\n\t\t\t 運動會分數統計\n"); printf("輸入學校數目 (x>= 5):"); scanf("%d",&nsc); printf("輸入男選手的項目(x<=20):"); scanf("%d",&msp); printf("輸入女選手項目(<=20):"); scanf("%d",&wsp); ntsp = msp + wsp; phead = (int *)calloc(ntsp,sizeof(int)); pafirst = phead; pasecond = phead; input(); calculate(); output(); Save(); }
標簽: 源代碼
上傳時間: 2016-12-28
上傳用戶:150501