搜索资源列表
jasonkingde
- 排序及应用 题目一:统计成绩 1. 实验目的:掌握常用的排序方法,深刻理解排序的定义和各种排序方法的特点,并能灵活应用。 2. 实验内容: (1) 输入n个学生的考试成绩,每个学生信息由姓名与分数组成; (2)选择一种排序算法,按分数高低次序,打印出每个学生的名次,分数相同的为同一名次。 (3)按名次给出每个学生的姓名与分数。 3. 实验要求:任选一种高级程序语言编写源程序,并调试通过,测试正确。 题目二:按字典顺序排序 1. 实验目的:掌握常用的排序方
数据结构的C++描述
- 目 录 译者序 前言 第一部分 预备知识 第1章 C++程序设计 1 1.1 引言 1 1.2 函数与参数 2 1.2.1 传值参数 2 1.2.2 模板函数 3 1.2.3 引用参数 3 1.2.4 常量引用参数 4 1.2.5 返回值 4 1.2.6 递归函数 5 1.3 动态存储分配
StringOperations
- 对输入的所有字符串按字典序排序,并输出到一个文件中。同时统计出字符串个数、最长字符串、最短字符串。 -All of the input string lexicographically sorted, and output to a file. While the statistics of the number string, the longest string, the shortest string.
words_cout
- 统计文档中单词出现的频率并按照字典顺序进行排序-Statistics document the frequency of words and sort lexicographically
assistant
- 输入说明: 文本文件“input.c”作为程序输入,统计C语言关键字(见附加信息)在程序中出现的次数和行号。 输出说明: 对所有出现在程序中的关键字按字典顺序各占一行输出,在关键字之后输出出现次数,和按递增顺序排列的所有出现行号 -Input Descr iption: Text file " input.c" as a program input, statistics C language keywords (see Additional Informa