Word Find

This is a discussion on Word Find within the C Programming forums, part of the General Programming Boards category; Does anyone know the source code in C for the simple wordfind program?(The one only capable of seraching words within ...

  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
    32,855
    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.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

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, 08:55 PM
  2. Word Count gone kookoo :)
    By Spectrum48k in forum C Programming
    Replies: 2
    Last Post: 05-17-2002, 10:12 PM
  3. length of string etc.
    By Peachy in forum C Programming
    Replies: 5
    Last Post: 09-27-2001, 01:04 PM

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