Thread: parsing into arrays

  1. #1
    random number generator reRanger's Avatar
    Join Date
    Oct 2004
    Posts
    44

    parsing into arrays

    Hello:

    If I parse a string and seperate the words into specific, reserved arrays, I then could compare them to the trigger word, say, "cat". Would "cat" need to be declared as a const var? Also, are sub-strings able to be compared like intergers, "cat==cat" or "dog!=cat"?

    reRanger
    "Nay! But you love the present life!"

  2. #2
    random number generator reRanger's Avatar
    Join Date
    Oct 2004
    Posts
    44
    Yes, bury this question and the previous one deep in a the mighty message-board server (or delete them all together) as I failed to consult the FAQ before posting. My apologies (though my question about strings was answered-- Go FAQs!!)

    Cheers, reRanger
    "Nay! But you love the present life!"

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Parsing and returning array pointers?
    By thealmightyone in forum C Programming
    Replies: 26
    Last Post: 03-26-2009, 03:38 PM
  2. Replies: 16
    Last Post: 01-01-2008, 04:07 PM
  3. Need Help With 3 Parallel Arrays Selction Sort
    By slickwilly440 in forum C++ Programming
    Replies: 4
    Last Post: 11-19-2005, 10:47 PM
  4. Crazy memory problem with arrays
    By fusikon in forum C++ Programming
    Replies: 9
    Last Post: 01-15-2003, 09:24 PM
  5. arrays of int, parsing, changing one element
    By stephanos in forum C Programming
    Replies: 3
    Last Post: 11-22-2002, 10:13 AM