登录
首页 » Visual C++ » P3-315

P3-315

于 2012-06-30 发布 文件大小:1KB
0 312
下载积分: 1 下载次数: 3

代码说明:

  先从键盘输入一个文本文件的文件名(约定:字符数≤127字节,可含路径)和一个字符串(约定:字符数≤20字节,其中不含空格、TAB等,后面称之为Str),再在屏幕上显示该文件的内容。要求显示完内容后,在屏幕上输出文件的行数(行之间以’ ’为分隔、每行的长度不定但均≤200个字节)、字符串Str在文件中第1次出现的行号和最后一次出现的行号(查找时不区分大小写、不跨行查找,若未找到,则行号显示为-1)。 (Start with the keyboard input of a text file name (convention: the number of characters to ≤ 127 bytes, and can contain the path) and a string (convention: the number of characters ≤ 20 bytes, which contain spaces, TAB, followed by call Str), the contents of the file is displayed on the screen. Requests display content on the screen the number of rows of the output file (the line between ' n' separated, each line has a variable length but ≤ 200 bytes) string Str file a (find the line number and the last line number is not case-sensitive, cross-bank does not find, If you do not find the line number is displayed as-1).)

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

发表评论

0 个回复

  • hdu1698
    ACM,杭电1698,屠夫的钩子,区间求和问题,经典的线段树问题(ACM, Hangzhou Xinhua 1698, butcher' s hook, interval summation problem, the classic problem of segment tree)
    2013-05-23 09:47:42下载
    积分:1
  • CodeCave
    win7下利用CreateRemoteThread函数hook记事本,弹出一个对话框(Under win7 use CreateRemoteThread hook notepad function, a dialog box pops up)
    2014-02-16 17:11:07下载
    积分:1
  • guoqudongDLL
    另一种思路注入目标进程的方法 可作为拓宽思维的例子(zhuru dll)
    2013-10-21 15:29:03下载
    积分:1
  • Direct3DHook
    directx 3d hook,用callback的方式,提供endscene()和reset()的hook,很好的例子,供有志于hook dx3d的同学参考学习(directx 3d hook, provide endscene() and reset() hook in call back,good example)
    2017-01-16 12:39:07下载
    积分:1
  • hooke
    hooke-jeeves模式搜索法具有很好的求解最优解的功能,本算法是Mark G. Johnson 编写的,大家可以参考学习(Nonlinear Optimization using the algorithm of Hooke and Jeeves)
    2015-02-01 23:09:06下载
    积分:1
  • 1
    说明:  使用全局键盘钩子,监听所有键盘消息,内有详细注释(Use global keyboard hook, monitor all keyboard messages, with detailed notes)
    2010-06-29 16:58:17下载
    积分:1
  • windos--api
    基于WindowsAPI的VB编程题自动评分系统的研究与实现,接受一些关于自动评分的教程(Research and Implementation of WindowsAPI VB programming question the automatic scoring system, to accept the tutorials on the automatic scoring)
    2012-05-25 21:45:09下载
    积分:1
  • VB调用VC的全局钩子,屏蔽键盘任意键
    Vb 开发方便使用的键盘、鼠标钩子 hook(Vb development, easy to use keyboard, mouse hook, hook)
    2017-10-11 12:27:47下载
    积分:1
  • bypass_easyhook
    bypass windows hook engines which if the LoaderLock is held not executes the hook handler.
    2010-06-19 19:28:37下载
    积分:1
  • MouseKeyHook
    消息钩子源码(SetWindowsHookEx)-拦截鼠标和键盘消息的示例程序(News source hook (SetWindowsHookEx)- intercept the mouse and keyboard messages sample procedures)
    2007-09-06 15:47:30下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载