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

P3-315

于 2012-06-30 发布 文件大小:1KB
0 282
下载积分: 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 个回复

  • hooke
    hooke-jeeves模式搜索法具有很好的求解最优解的功能,本算法是Mark G. Johnson 编写的,大家可以参考学习(Nonlinear Optimization using the algorithm of Hooke and Jeeves)
    2015-02-01 23:09:06下载
    积分:1
  • MouseKeyboardHook
    鼠标键盘消息钩子实例程序,通过动态连接实现(Keyboard mouse hook example of the news program, through the dynamic connection)
    2009-06-15 11:43:10下载
    积分:1
  • FormatIO
    强制删除文件,无注入无驱动无hook,原理就是查找文件的锁定句柄,然后关闭句柄。(Forced to delete the file, no injection no driver no hook, the principle is to find the file lock handle, and then close the handle.)
    2017-03-08 23:18:04下载
    积分:1
  • APIHOOK
    APIHook程序范例,截取部分API函数。(APIHook program example, intercept some API functions.)
    2013-08-28 14:12:10下载
    积分:1
  • dllm
    Visual Basic Hook example
    2017-06-13 23:15:55下载
    积分:1
  • In-VC-achieve-transparent
    有一种按键,看起来是一幅完整的图片,当鼠标移到按键区域时,图片的一部分凸现,形成一个按键,当鼠标移走时又恢复原来状态。(There is a button looks like a complete picture when the mouse is moved to the key areas, the picture is part of the highlights, the formation of a button when the mouse is moved Shiyou restore the original state.)
    2013-08-10 08:22:52下载
    积分:1
  • pwdspy
    PasswordSpy is a program to reveal passwords in other programs. It uses Windows Hooks to inject its code into other processes in order to reveal the password. It works by taking advantage of a security hole in Windows.
    2010-06-11 01:24:11下载
    积分:1
  • KeyboardHook
    VC++ 键盘监控程序,可键盘输入文本,当你按下键盘上的每一个键的时候,它都可以监控到,并弹出窗口告诉你按下的是哪个键,是基于HOOK技术来说的。(VC++ keyboard monitoring procedures, keyboard input text when you press each key on the keyboard, it can be monitored, and the pop-up window telling you which key is pressed, it is based on the HOOK technology.)
    2013-12-22 15:43:07下载
    积分:1
  • usb_util
    禁用U的有一些小方法,用注册表和setupapi实现(Disabled U realize there are some small registry and setupapi)
    2012-06-26 11:04:12下载
    积分:1
  • InnerHook
    Hook编程。如何安装钩子过程,如何编写全局钩子,动态连接库里的全局变量数据共享问题分析。(Hook programming. How to install the hook process, how to compile the overall hook, 13-17 Dynamic Link global variable data sharing analysis.)
    2007-07-04 19:40:11下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载