登录
首页 » Windows开发 » 从文本文件中读取字符串 解析字符串,找出文本中出现的word,并计算word出现的次数 把结果输出到一个文本文件中...

从文本文件中读取字符串 解析字符串,找出文本中出现的word,并计算word出现的次数 把结果输出到一个文本文件中...

于 2022-03-22 发布 文件大小:797.76 kB
0 74
下载积分: 2 下载次数: 1

代码说明:

从文本文件中读取字符串 解析字符串,找出文本中出现的word,并计算word出现的次数 把结果输出到一个文本文件中 -Read from a text file string parsing a string to appear in the text to find word, and calculate the number of word occur the results output to a text file

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • Delphi OP crypter研究
    应用背景样品函数ReadFile(文件名:AnsiString字符串);VaR和公司;公司;公司;公司;公司;公司;公司;公司;公司;公司; ;缓冲区 ; ; ; ; ; ; ;:AnsiString;的规模和规模,并在;和,和,;,;,;readbytes  ; ; ; ; ;:整数; ;defaultfilemode:字节;开始结果是:“”; ;defaultfilemode:=我不; ;我不:= 0; ;assignfile(F,文件名);重置(女,1); ;如果(ioresult = 0)然后一开始 ; ; ;尺寸:=文件大小(F); ; ; ;而(尺寸& gt;1024)做和,开始,开始 ; ; ; ; ;规定长度(缓冲区,1024); ; ; ; ; ;blockread(F,缓冲[ 1 ],1024,readbytes);和,和,和,结果:=结果+缓冲区; ; ; ; ; ;12(大小,readbytes);和,结束,结束; ; ; ;规定长度(缓冲区,大小); ; ; ;blockread(F,缓冲[ 1 ],大小);和,结果:=结果+缓冲; ; ; ;关闭一个打开的文件(F);结束了; ;我不defaultfilemode:=;终点功能readeof(delimit1,delimit2:字符串:字符串);VaR ;缓冲区 ; ; ; ; ;:AnsiString;reslength  ; ; ;:整数;我和公司的;&;&;&;&;&;&;&;posdelimit  ; ;:整数;开始 ;缓冲:= ReadFile(paramstr(0)); ;如果POS(delimit1,缓冲)& gt;POS(delimit2,缓冲)
    2022-10-07 03:10:02下载
    积分:1
  • VB6和菜单..一个示例代码
    VB6 and Meun .. a sample code-VB6 and Meun a sample code ..
    2022-11-07 05:20:03下载
    积分:1
  • With a radio button StringGrid, with a radio button StringGrid with a radio butt...
    使用单选按钮StringGrid,使用单选按钮StringGrid和单选按钮StringGrid和单选按钮StringGrid
    2022-03-15 23:43:37下载
    积分:1
  • 用C语言编写时分秒计数器,能够计时到23小时59分59秒
    用C语言编写时分秒计数器,能够计时到23小时59分59秒-realize an arithmometer by using C programming
    2023-04-30 05:55:03下载
    积分:1
  • 下载的视频文件
    这是从相机捕获视频的文件并显示和它会执行一些音频功能方面的需求,我们可以看到任何类型的视频从任何地方用于捕获,它将支持所有类型的像 h264 和 v264 的视频编解码器
    2022-06-30 09:05:55下载
    积分:1
  • wince platform OpenGL es under the application of an original code, lighting eff...
    wince 平台下的 的一个 OpenGL es 应用的原代码,灯光效果, 用EVC4.0下编译-wince platform OpenGL es under the application of an original code, lighting effects, compiled with EVC4.0
    2022-02-13 12:13:39下载
    积分:1
  • 实现vc下不同进程之间的通讯:Copyrecv接收进程,Copysend送进程...
    实现vc下不同进程之间的通讯:Copyrecv接收进程,Copysend发送进程-achieve vc different process of communication between : Copyrecv receiving process, this process Copysend
    2022-11-27 21:55:03下载
    积分:1
  • ThinkingC++中文版,适合初级c++学习者阅读 04部分
    ThinkingC++中文版,适合初级c++学习者阅读 04部分-ThinkingC++ Chinese version, suitable for primary c++ Learners reading part 04
    2022-03-19 08:14:13下载
    积分:1
  • 这是MIT人脸库,包括两组,一组人脸库,一组非人脸库,可以用分类器训练,然后用人脸识别程序识别,可以不用购买人脸库了。。。不错的...
    这是MIT人脸库,包括两组,一组人脸库,一组非人脸库,可以用分类器训练,然后用人脸识别程序识别,可以不用购买人脸库了。。。不错的-Face arsenal, including two groups, one group of people to face basement, a group inhuman face, you can use the classifier training, and then use face recognition procedures for identification and can be purchased for the face. . . Good.
    2022-03-21 14:18:49下载
    积分:1
  • 获取声卡信息(基于VB) 获取声卡信息(基于VB)
    获取声卡信息(基于VB) 获取声卡信息(基于VB)-Access to sound card information (based on VB) access to sound card information (based on VB)
    2022-03-01 22:24:00下载
    积分:1
  • 696518资源总数
  • 104509会员总数
  • 10今日下载