Thread: Chat Bot Help!!

  1. #1
    Registered User
    Join Date
    Mar 2009
    Posts
    4

    Chat Bot Help!!

    I have been set a task to create a chat bot in C. My knowledge of C is very limited and I could really do with some guidance as what needs to be included. If anyone could give me any tips or guidance that'd be fantastic!
    Thanks!
    Jeremy

  2. #2
    Complete Beginner
    Join Date
    Feb 2009
    Posts
    312
    If the chatbot is supposed to pass the Turing test: create a mapping "hitword" -> "sentence", read user input, search it for hitwords, reply corresponding sentence.

    If not, this will do:

    Code:
    while(read_stdin()) {
            puts("Hello.");
    }
    Greets,
    Philip

    EDIT: if this answer isn't satisfactory, try with a smarter question
    Last edited by Snafuist; 03-09-2009 at 06:54 AM.
    All things begin as source code.
    Source code begins with an empty file.
    -- Tao Te Chip

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Chat bot brain ideas
    By cogeek in forum C++ Programming
    Replies: 14
    Last Post: 10-02-2004, 12:26 AM
  2. Chat Bot: Multiple headers problem
    By RoD in forum C++ Programming
    Replies: 4
    Last Post: 03-26-2003, 06:07 PM
  3. Chat BOT Sample
    By RoD in forum C++ Programming
    Replies: 19
    Last Post: 11-04-2002, 04:51 AM
  4. Chat BOT
    By RoD in forum C++ Programming
    Replies: 85
    Last Post: 10-26-2002, 11:00 AM
  5. Msvc Aim Chat Bot ???
    By Unregistered in forum C++ Programming
    Replies: 0
    Last Post: 09-19-2001, 08:46 AM