搜索资源列表
Threaded_Solution
- 多线程程序,以进行数据保护。程序打开一个text文件,线程按行从文件中读取数据同时计算每行的字母数为奇数和偶数的单词的个数,然后关闭文件,输出最后的结果。 -Multithreaded programs, for data protection. Program opens a text file, thread by line read from the file while in each of the line An odd number of letters and even the
Serial
- 串行程序。程序打开一个text文件,线程按行从文件中读取数据同时计算每行的字母数为奇数和偶数的单词的个数,然后关闭文件,输出最后的结果。 -Multithreaded programs, for data protection. Program opens a text file, thread by line read from the file while in each of the line An odd number of letters and even the number o
用180行C代码就能够读取FAT16文件系统U盘的根目录
- ch375.c.txt 这个程序用180行C代码就能够读取FAT16文件系统U盘的根目录,可以看到根目录下的文件 名,并可显示 首文件内容,不过,该程序很不严谨,也没有任何错误处理,对U盘兼容性较差,只是用于简单试 验,作为参考. 这个程序可以支持WINDOWS按FAT16格式化的U盘,因为程序精简,所以只兼容超过50%以上的U 盘品牌,如果换 成CH375A芯片则兼容性可提高到85%,当然,如果使用WCH公司的子程序库或者正式版本的C源 程序兼容性更好。
putkey
- 将二维数组中按列读取,统计出每列中相同元素下,的行号。并以该 *列元素为Hashtable中的"关键值"Key,将相关行号保持到vector中,再将该 * vector作为"值"value,完成数据的提取。-extract special elements form a array
2
- 函数ReadDat( )实现从文件IN.DAT中读取一篇英文文章存入到字符串数组xx中;请编制函数StrOR( ),其函数的功能是:以行为单位依次把字符串中所有小写字母o左边的字符串内容移到该串的右边存放,然后把小写字母o删除,余下的字符串内容移到已处理字符串的左边存放,之后把已处理的字符串仍按行重新存入字符串数组xx中。最后main()函数调用函数WriteDat()把结果xx输出到文件OUT5.DAT中。-Function ReadDat () implementation from the
3
- 函数ReadDat()实现从文件IN.DAT中读取一篇英文文章存入到字符串数组xx中,请编制函数StrOL(),其函数的功能是:以行为单位对行中以空格或标点符号为分隔的所有单词进行倒排。最后把已处理的字符串(应不含标点符号)仍按行重新存入字符串数组xx中,最后调用函数writeDat()把结果xx输出到文件OUT6.DAT中。-Function ReadDat () to read from a file IN.DAT an article in English into the string
Exercise
- (按升序显示不重复的单词)编写程序,从文本文件中读取单词,并将所有不重复的单词按升序显示,文本文件以命令行参数的方式传递。 编程提示: 文件处理:将命令行获取的文件按行读入,然后将每行文件内容按字符串处理为单词形式。按行读入可以使用BufferedReader 类的readLine()方法,每行处理为单词可以使StringTokenizer 类或者String 类的split()方法。 使用泛型技术创建字符串规则集,不重复地存放单词; 由散列集创建树形集,形成单词的自然排列顺序
change
- 函数ReadDat()实现从文件IN.DAT中读取一篇英文文章存入到字符串数组xx中,请编制函数StrCharJR(),其函数的功能是:以行为单位把字符串中所有字符的ASCII值右移4位,然后把右移后的字符ASCII值再加上原字符的ASCII值,得到新的字符仍存入原字符串对应的位置上。最后把已处理的字符串仍按行重新存入字符串数组xx中,最后调用函数writeDat()把结果xx输出到文件OUT8.DAT中。-change words
Threaded
- 多线程程序,未进行数据保护。程序打开一个text文件,线程按行从文件中读取数据同时计算每行 的字母数为奇数和偶数的单词的个数,然后关闭文件,输出最后的结果。 -Multithreaded programs, for data protection. Program opens a text file, thread by line read from the file while in each of the line An odd number of letters and even
ReadFileLines
- 按行数读取xml文件,尤其是行数多文件巨大的情况-read large xml by lines
Program
- 读取xml文件并存储为txt,按行存储为txt文件-Read xml file and stored as txt, press OK stored as a txt file
ConvertUCSDoc
- VC6.0写的一个小玩意,新公司的入职练手任务。unicode编译环境。要求如下: 题目:用VC6.0实现对unicode格式的文本文件高效率按行读取 要求: (1)实现以下接口 BOOL OpenStringFile(CString path) BOOL ReadStringFile(&CString str) //一次读取文件中的一行 BOOL CloseStringFile() (2)使用内存缓存技术,对于大文件要能达到几十MB/S的速度。 (3)测试程
excelreader
- 按行读取excel文件, 支持excel2003-2007, 自动计算公式的值 -Read excel row by row, support excel 2003-2007, calculate formula automatically.
File
- 用来按行读取一个txt文件并将这个txt文件存储到另外一个txt文件中-Used to read a txt file line by line and store the txt file to another txt file
lll
- 一个读取txt文件的小程序,打开一个text文件,然后按行读取,并显示-A small program of reading text files
anjian_read_file
- 按键精灵读取TXT文件,按行打散到数组。并遍历数组实例。-anjian read txt file to array.
read_write
- 60行代码实现文件读取写入,并且是按行的-read a file or writed to file,all the operation was accord per line
IOUtil
- 读写文件的一些常用方法,逐行度,去除空行,替换空格,拼接文件,按行读取小文件- Some commonly used methods of reading and writing files, progressive degree, removing blank lines, replace spaces, splicing file, press the line reading small files
readline
- JAVA读文件操作,按行读取,并存储到一个数组里面。-JAVA read the file operation, according to the line to read, and stored in an array .
GoSerial
- GoSerial,Golang语言开发,基于GoSerial开源项目,增加按行读取,可以读取后增加内容分析,完成一些自动判断功能