編寫簡單的加密程序它把一個文件的所有字母按下列規律進行 換,非字母的字符保持不變。文本可以自行創建,文件名可以自定 轉換規律:‘A’→‘Z’,‘B’→‘Y’,• •
上傳時間: 2016-03-23
上傳用戶:ouyangtongze
運行程序,顯示主菜單,要求做出選擇: 輸入 1 ,轉到樂曲選擇菜單,輸入要播放的樂曲的序號,若輸入正確(如 1 ),則要求輸入播放次數,然后按輸入的播放次數播放所選樂曲,輸入非法或樂曲播放完后返回樂曲選擇菜單。 輸入 2 或者 3 ,程序提示“該部分功能未完成,按任意鍵返回”,按一下鍵盤返回主菜單。 輸入 4 或 q 或 Q ,程序提示是否退出,鍵入 y ,程序退出,鍵入其它值則返回主菜單。
標簽: 運行程序
上傳時間: 2016-03-26
上傳用戶:CSUSheep
Intro/: Directory containing introductory examples. HelloWorld.c A simple program that draws a box and writes "Hello World" in HelloWorld.f it. data The data file for the introductory progressive example. Lines.c Reads the data from file "data" and plots just the curve with Lines.f no labels, viewport or anything indicating quantity or units. Viewport.c Restricts the graph to a viewport and frames the viewport, Viewport.f leaving the remainder of the area for labels, etc. CharLbls.c Adds labels for the chart title, X-axis title, and Y-axis CharLbls.f title. Tics.c Adds tic marks to the viewport edges, but since clipping was Tics.f not set correctly, tics extend outside the viewport. Clip.c Sets clipping such that tic marks are clipped at the viewport Clip.f boundaries. TicLabels.c Adds numeric tic labels to the graph this is the final TicLabels.f installment of the progressive example.
標簽: introductory HelloWorld containing Directory
上傳時間: 2016-03-29
上傳用戶:exxxds
Just what is a regular expression, anyway? Take the tutorial to get the long answer. The short answer is that a regular expression is a compact way of describing complex patterns in texts. You can use them to search for patterns and, once found, to modify the patterns in complex ways. You can also use them to launch programmatic actions that depend on patterns. A tongue-in-cheek comment by programmers is worth thinking about: "Sometimes you have a programming problem and it seems like the best solution is to use regular expressions now you have two problems." Regular expressions are amazingly powerful and deeply expressive. That is the very reason writing them is just as error-prone as writing any other complex programming code. It is always better to solve a genuinely simple problem in a simple way when you go beyond simple, think about regular expressions. Tutorial: Using regular expressions
標簽: expression the tutorial regular
上傳時間: 2013-12-19
上傳用戶:sardinescn
學生信息管理系統,本程序共有八個功能與數據結構說明: 每一條記錄包括一個學生的學號、姓名、3門課成績、平均成績。 1.學生記錄的輸入,可以一次完成若干條記錄的輸入,可以控制所要輸入學生的總數,根據提示進行輸入次數,然后每輸入一個值按下回車,然后再根據提示進行輸入。 2.顯示學生信息。完成全部學生記錄的顯示。 3.查找功能。輸入一個學生的名字,然后就顯示該學生的所有信息。 4.排序功能:按學生平均成績進行排序。 5.插入記錄。在程序進行中可以輸入一個學生的名字,然后在該學生后面插入一個學生的信息,插入完之后會提示用戶是否進行排序,輸入y則進行排序,輸入n不進行排序。 6.刪除功能。該功能實現刪除學生信息,給出所要刪除的學生的名字,即可實現將該學生的所有信息刪除。 7.文件的存盤功能。該功能模塊實現對該文件的存盤操作。將文件存入磁盤中的命名為student.cpp的文件中,直到存完為止。 8.文件的讀出功能。該功能模塊實現對磁盤中文件名為student.cpp的文件進行讀出操作,直到讀完為止。 9.則退出整個程序的運行。
上傳時間: 2013-12-19
上傳用戶:李彥東
為了提高使用精度,研究了某型號MEMS陀螺儀的隨機漂移模型。采用游程檢驗法分析了 該陀螺儀隨機漂移數據的平穩性,并根據該漂移為均值非平穩、方差平穩的隨機過程的結論, 采用梯度徑向基(RBF)神經網絡對漂移數據進行了建模。實驗結果表明:相比經典RBF網絡模 型而言,這種方法建立的模型能更好地描述MEMS陀螺儀的漂移特;相對于季節時間序列模型而 言,其補償效果提高了大約15%。
標簽: 精度
上傳時間: 2016-04-01
上傳用戶:weixiao99
多項式曲線擬合 任意介數 Purpose - Least-squares curve fit of arbitrary order working in C++ Builder 2007 as a template class, using vector<FloatType> parameters. Added a method to handle some EMathError exceptions. If do NOT want to use this just call PolyFit2 directly. usage: Call PolyFit by something like this. CPolyFit<double> PolyFitObj double correlation_coefficiant = PolyFitObj.PolyFit(X, Y, A) where X and Y are vectors of doubles which must have the same size and A is a vector of doubles which must be the same size as the number of coefficients required. returns: The correlation coefficient or -1 on failure. produces: A vector (A) which holds the coefficients.
標簽: Least-squares arbitrary Purpose Builder
上傳時間: 2013-12-18
上傳用戶:宋桃子
n this demo, we show how to use Rao-Blackwellised particle filtering to exploit the conditional independence structure of a simple DBN. The derivation and details are presented in A Simple Tutorial on Rao-Blackwellised Particle Filtering for Dynamic Bayesian Networks. This detailed discussion of the ABC network should complement the UAI2000 paper by Arnaud Doucet, Nando de Freitas, Kevin Murphy and Stuart Russell. After downloading the file, type "tar -xf demorbpfdbn.tar" to uncompress it. This creates the directory webalgorithm containing the required m files. Go to this directory, load matlab5 and type "dbnrbpf" for the demo.
標簽: Rao-Blackwellised conditional filtering particle
上傳時間: 2013-12-17
上傳用戶:zhaiyanzhong
On-Line MCMC Bayesian Model Selection This demo demonstrates how to use the sequential Monte Carlo algorithm with reversible jump MCMC steps to perform model selection in neural networks. We treat both the model dimension (number of neurons) and model parameters as unknowns. The derivation and details are presented in: Christophe Andrieu, Nando de Freitas and Arnaud Doucet. Sequential Bayesian Estimation and Model Selection Applied to Neural Networks . Technical report CUED/F-INFENG/TR 341, Cambridge University Department of Engineering, June 1999. After downloading the file, type "tar -xf version2.tar" to uncompress it. This creates the directory version2 containing the required m files. Go to this directory, load matlab5 and type "smcdemo1". In the header of the demo file, one can select to monitor the simulation progress (with par.doPlot=1) and modify the simulation parameters.
標簽: demonstrates sequential Selection Bayesian
上傳時間: 2016-04-07
上傳用戶:lindor
使用單片機控制兩片串行A/D芯片TLC5615輸出字模電壓值,分別接入模擬示波器的X、Y通道,示波器在雙蹤模式下就可以顯示單片機輸出的字符
上傳時間: 2013-12-24
上傳用戶:古谷仁美