搜索资源列表
jaq
- /* 本程序实现的功能: 显示系统时间和日期 该程序主要操作是: 使用了dos的系统调用功能,输入大小写D显示系统当前日期,当输入大小写T输出当前系统时间,当输入大小写Q退出程序,当输入其他字符时,提示错误 。 主要算法:将系统时间及日期转化成字符显示,通过堆栈来排序显示,同时涉及到 坐标位置设置的转换。时间和日期的显示都只调用了一个(函数)compute,避免了代码的冗余,尽量做到简洁,同时当一次操作过后,程序处于等待状态,以进行下一次操作,而非自动退出。该程序显示时间时多次调
Intermediate_Nodes
- The program takes the intermediate stoichiometric matrix of a chemical reaction mechanism as the input and gives the intermediate nodes in terms of all the possible combinations of p-(q-1) reaction steps. This program is complimentary to the "Reactio
Huffman
- huffman编码生成器 函数说明: [W,L,q]=huffman(P) 为huffman编码函数 P为信源的概率矢量,W为编码返回的码字 L为编码返回的平均码字长度,q为编码效率 ***************************************** -huffman encoding function generator Descr iption: [W, L, q] = huffman (P) for