Thread: Chatting Bot

  1. #16
    i dont know Vicious's Avatar
    Join Date
    May 2002
    Posts
    1,200
    Yeah dude, for a simple chatbot that would be really easy. ESPAECIALLY if your just talking about a simple console where you type "How are you" and it says "Fine, you".

    It wouldnt be that hard to do what Lithorien is talking about. Just make a "data" file that stores responses associated with keywords.
    What is C++?

  2. #17
    Registered User
    Join Date
    Jul 2004
    Posts
    99
    I'm n0b in C guys!

  3. #18
    Registered User
    Join Date
    Aug 2004
    Location
    San Diego, CA
    Posts
    313
    If you're new to C++, then you might want to hold off on this until you have some basics (classes, for example) down.

  4. #19
    Registered User
    Join Date
    Jul 2004
    Posts
    99
    where do you see the classes down

    I tried learn c but found it too difficult

  5. #20
    Registered User axon's Avatar
    Join Date
    Feb 2003
    Posts
    2,572
    if you found c difficult you will have trouble with most other high level languages. Chatbots could get pretty sophisticated, and you need decent programming skill to start developing them.

    some entropy with that sink? entropysink.com

    there are two cardinal sins from which all others spring: Impatience and Laziness. - franz kafka

  6. #21
    Registered User
    Join Date
    Aug 2004
    Posts
    731
    Yah, when I first started c++ I wanted to make a very hard program. Everyone told me to just start with the basics. And as I read the tutorials I got relaly good at the basics. And now I got a c++ book and still learning more.

    I tried to to make a chat bot thing. It was just a counsl prog, so it didn't do much. I learned how to use dlls tho.

    My point is take it slow. You will eventauly learn this in a couple of months. BUT do not be afraid to post questions on this board now. Just try to make some easier programs first.


    __________________________________________

    My chat bot code:

    cout<<"Player ";
    cin>>player_says;

    if(player_says=="hi"
    {
    I am sillyI am sillyI am sillyI am sillycou come on I just edited this post<<"Computer: Hello";}


    LOL not much at all.
    Last edited by Rune Hunter; 09-27-2004 at 02:46 PM.

  7. #22
    Banned master5001's Avatar
    Join Date
    Aug 2001
    Location
    Visalia, CA, USA
    Posts
    3,685
    Jumping in over your head doesn't make you learn faster. It actually tends to make new programmers think of taking up a new career. Interestingly, you will find by the time you have enough skill to make a chat bot you may think of something much more creative to write. Good luck on whatever you do decide to do at this point in any case.

  8. #23
    Registered User
    Join Date
    Jul 2004
    Posts
    99
    any free good tutor i can start, i will go straight to C++

  9. #24
    Registered User Inferno's Avatar
    Join Date
    Nov 2003
    Posts
    24
    cprogramming.com has a tut section that you can read and go buy a book on it. Everyone else is right your this is like u jumping into the big kids pool with out knowing how to swim



    Books:
    http://www.gamedev.net/columns/books/

    or The two I use

    C++ for dummies-This books gets into alot of detail with everything

    Learn C in 24 hours(came with borland compiler)-Short and sweet would be the explination for this book

    C and C++ are the same not much diffrence
    Last edited by Inferno; 09-28-2004 at 07:27 AM.

  10. #25
    Registered User Chubz's Avatar
    Join Date
    Sep 2004
    Posts
    16
    For it to be able to actually communicate like a human, it would take weeks - probably even months - to be able to program all of that stuff efficiently.

    Although, for one thing, you COULD give it randomized responses that were only appropriate for certain situations.

    Like for greetings, you could make it say random things such as:

    "Hey!"
    "Hello!"
    "Hi!"


    Just some suggestions.

  11. #26
    Registered User
    Join Date
    Aug 2004
    Location
    San Diego, CA
    Posts
    313
    Quote Originally Posted by Inferno
    C and C++ are the same not much diffrence
    WRONG. Wrong, wrong, wrong, wrong, wrong.

    Search the boards as to why you are. Come back when you've learned something.

  12. #27
    Registered User Inferno's Avatar
    Join Date
    Nov 2003
    Posts
    24
    Code:
    #include <iostream.h>
    
    main()
    {
            cout << "Hello World! ";
    }
    Code:
    #include <stdio.h>
    
    main()
    {
              printf ("Hello World!\n");
    }
    Well it doesnt look like theres that much of a diffrence here does there?............so tun nicht erzahlen me was zu tun, du dummkopf

  13. #28
    Registered User Draco's Avatar
    Join Date
    Apr 2002
    Posts
    463
    No, those examples you gave aren't much different, but there are many little differences between C and C++ besides the few big ones like classes, especially if you are the compiler which you have to take into account. If you did some of the research Lithorien suggested you would see the differences. There are a few on the FAQ even.

  14. #29
    Registered User Inferno's Avatar
    Join Date
    Nov 2003
    Posts
    24
    ok thats nice i know there diffrences but i didnt say it was all the same i said it was not much i few big things is goes into not much dude


    now lets get back on topic to this guys post im not getting introuble for this


    how bout some AI for the chat bot instead of premediated responeses
    Last edited by Inferno; 09-28-2004 at 03:00 PM.

  15. #30
    Registered User
    Join Date
    Aug 2004
    Location
    San Diego, CA
    Posts
    313
    Quote Originally Posted by Inferno
    Well it doesnt look like theres that much of a diffrence here does there?............so tun nicht erzahlen me was zu tun, du dummkopf
    *sighs*

    First, I know German. I'd appreciate it if you didn't insult me in said language.

    Secondly, while in a small project there won't be much of a difference between the two languages, you also don't see a lot of the language. Take a look at some of these functions to see what I mean.

    std::map
    vectors
    deques
    classes

    See the FAQ for more.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Getting a Very Simple Quake 2 Bot to Work
    By bengreenwood in forum C++ Programming
    Replies: 2
    Last Post: 03-19-2009, 05:36 AM
  2. Chat bot brain ideas
    By cogeek in forum C++ Programming
    Replies: 14
    Last Post: 10-02-2004, 12:26 AM
  3. active worlds sdk (first test bot)
    By LodeC in forum C++ Programming
    Replies: 2
    Last Post: 07-31-2004, 08:33 AM
  4. Anybody Familiar with A.L.I.C.E. bot?
    By blackwyvern in forum C++ Programming
    Replies: 6
    Last Post: 01-23-2002, 10:53 PM