Chat Bot Help!!

This is a discussion on Chat Bot Help!! within the C Programming forums, part of the General Programming Boards category; I have been set a task to create a chat bot in C. My knowledge of C is very limited ...

  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, 05:07 PM
  3. Chat BOT Sample
    By RoD in forum C++ Programming
    Replies: 19
    Last Post: 11-04-2002, 03: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

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