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
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
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:
Greets,Code:while(read_stdin()) { puts("Hello."); }
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