Results 1 to 7 of 7

Thread: search a file for a string [resolved]

Threaded View

  1. #1

    Thread Starter
    Frenzied Member markman's Avatar
    Join Date
    Nov 2000
    Location
    Florida.
    Posts
    1,197

    search a file for a string [resolved]

    Im trying to figure out how to search a file for a certain string, returning the byte (I can use seekg for the rest).

    Say the file was:

    Marketing
    2
    Billboards
    17
    TVAds
    2
    Customer
    5
    DDR_RAM
    120
    Monitors
    52
    Motherboards
    23
    CPU(Athlon)

    It would return the byte offset of Customer.

    How would I do that?
    Last edited by markman; May 3rd, 2002 at 03:38 PM.
    retired member. Thanks for everything

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