Thread: String Comparasin

  1. #1
    Registered User
    Join Date
    Dec 2004

    String Comparasin

    Okay, I made a Name That Tune game, but the problem is not everybody knows the EXACT title and the EXACT artist. I have considered making four choices, but that makes the game too easy and a lot more work for me.

    My Question: Does anyone know of a function that will compare two *CHAR s and return something like a percent of how closely matched the two strings are? Or else does anyone have any suggestions of what I could do instead?

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    The edge of the known universe
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 8
    Last Post: 04-25-2008, 02:45 PM
  2. We Got _DEBUG Errors
    By Tonto in forum Windows Programming
    Replies: 5
    Last Post: 12-22-2006, 05:45 PM
  3. Something is wrong with this menu...
    By DarkViper in forum Windows Programming
    Replies: 2
    Last Post: 12-14-2002, 11:06 PM
  4. Classes inheretance problem...
    By NANO in forum C++ Programming
    Replies: 12
    Last Post: 12-09-2002, 03:23 PM
  5. Warnings, warnings, warnings?
    By spentdome in forum C Programming
    Replies: 25
    Last Post: 05-27-2002, 06:49 PM