Searching through strings...

This is a discussion on Searching through strings... within the C Programming forums, part of the General Programming Boards category; Is there a way to search through strings to look for a match with a constant string? I'm trying to ...

  1. #1
    Registered User
    Join Date
    Sep 2001
    Posts
    11

    Searching through strings...

    Is there a way to search through strings to look for a match with a constant string? I'm trying to make a bot. I was thinking chop up the string at every space and see if the string you're comparing to the constant one was in there. But that didn't seem to go anywhere. Thanks for the help.

    -CDuddley

  2. #2
    Registered User
    Join Date
    Sep 2001
    Posts
    11
    Nevermind figured it out .

    -CDuddley

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C++ std routines
    By siavoshkc in forum C++ Programming
    Replies: 33
    Last Post: 07-28-2006, 01:13 AM
  2. Visual C++ 2005 linking and file sizes
    By Rune Hunter in forum C++ Programming
    Replies: 2
    Last Post: 11-12-2005, 10:41 PM
  3. Searching and matching strings: segmentation fault
    By Smola in forum C Programming
    Replies: 18
    Last Post: 07-11-2005, 01:25 AM
  4. Ofstream, Ifstream, Searching files for strings?
    By Zeusbwr in forum C++ Programming
    Replies: 10
    Last Post: 04-04-2005, 04:45 PM
  5. Searching strings - substring's
    By Vber in forum C Programming
    Replies: 4
    Last Post: 02-06-2003, 12:05 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21