CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2002
    Posts
    2

    searching the .txt file

    Can someone make me a really small program that searches a .txt file for a string that a person entered.For example, if a .txt file contains the String "Hello world" and the user enters "Hello world" the program could say "Found it"(or something like that)and If the program can't find it it can say "Couln't find it".








  2. #2

    Re: searching the .txt file

    www.boost.org -> class RegEx -> GrepFiles()
    if you want the esealets way!

    be patience and you will get averythink

  3. #3
    Join Date
    Feb 2000
    Location
    Greensboro NC
    Posts
    123

    Re: searching the .txt file

    why not use find.exe? it is in the windows\command directory most of the time


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured