文件名称:CountKeyword
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:1.63kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
输入C语言保留字文本文件、C语言源程序文件,输出记录对应C语言源文件中各关键词出现次数的文本文件。
完成以下功能:读取C语言保留字文本文件,建立C语言保留字链表;建立逐行读取给定C语言源文件,分解出每个单词并与C语言关键词进行比较,记录各关键词出现的次数,将所有关键词出现的次数保存到给定文本文件;要考虑用命令行参数实现该任务。
要应用以下知识点:文件的读写;字符数组的操作;命令行参数的使用。
-Enter the C language reserved word text file, C language source file, the output recorded in the corresponding C language source file number of the key words of text files. Complete the following features: Read the text file C language reserved words, the establishment of C language reserved word list establish a given line by line to read C language source files, break out each word and compared with the C language keywords and record the key words the number of occurrences, the number of occurrences of all keywords to the given text file stored to consider the use of command line parameters to achieve the task. Knowledge points to the following: file read and write character array operations command line arguments to use.
完成以下功能:读取C语言保留字文本文件,建立C语言保留字链表;建立逐行读取给定C语言源文件,分解出每个单词并与C语言关键词进行比较,记录各关键词出现的次数,将所有关键词出现的次数保存到给定文本文件;要考虑用命令行参数实现该任务。
要应用以下知识点:文件的读写;字符数组的操作;命令行参数的使用。
-Enter the C language reserved word text file, C language source file, the output recorded in the corresponding C language source file number of the key words of text files. Complete the following features: Read the text file C language reserved words, the establishment of C language reserved word list establish a given line by line to read C language source files, break out each word and compared with the C language keywords and record the key words the number of occurrences, the number of occurrences of all keywords to the given text file stored to consider the use of command line parameters to achieve the task. Knowledge points to the following: file read and write character array operations command line arguments to use.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
8+统计C语言源文件关键词出现的频度.c
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.