Thread: Word Find

  1. #1
    Registered User
    Join Date
    Nov 2006
    Posts
    7

    Word Find

    Does anyone know the source code in C for the simple wordfind program?(The one only capable of seraching words within a file in a horizontal and reversed horizontal direction)
    I'm supposed to add more features to this program and rewrite it in Java environment.

  2. #2
    {Jaxom,Imriel,Liam}'s Dad Kennedy's Avatar
    Join Date
    Aug 2006
    Location
    Alabama
    Posts
    1,065
    You'd have to load the file into memory (a string), then you could use strstr() or some other type function.

  3. #3
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    Sure, what's the question.

    What's wrong with writing the simple one youself?

    I mean, if you can't, what makes you think adding extra features is going to be any easier?

    It's a lot easier to add features to your own code, so by the time you've understood someone elses, you would have had time to implement your own.
    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. please help with binary tree, urgent.
    By slickestting in forum C Programming
    Replies: 2
    Last Post: 07-22-2007, 07:55 PM
  2. Word Count gone kookoo :)
    By Spectrum48k in forum C Programming
    Replies: 2
    Last Post: 05-17-2002, 09:12 PM
  3. length of string etc.
    By Peachy in forum C Programming
    Replies: 5
    Last Post: 09-27-2001, 12:04 PM