1. This website uses cookies to improve service and provide a tailored user experience. By using this site, you agree to this use. See our Cookie Policy.
    Dismiss Notice

Is C++ a good choice to make bots?

Discussion in 'C, C++, C#' started by Salls, Jun 13, 2019 at 7:29 AM.

Tags:
  1. Salls

    Salls Registered Member

    Joined:
    Feb 17, 2014
    Messages:
    67
    Likes Received:
    4
    Hello!

    I am quite familiar with JavaScript and I need to learn new programming language for making bots.
    Bots for communicators (ICQ, Skype, Trillian and many other). Somebody whop type to me this bot should answer everyone.
    And the bots for Facebook (private messages), Pinterest (make follows) and other.

    Is C++ a good choice for making these kind of bots?
     
  2. JohnyMSF

    JohnyMSF Newbie

    Joined:
    Apr 24, 2019
    Messages:
    18
    Likes Received:
    5
    Gender:
    Male
    Yea C++ can be usefull, but if you don't know too much programming don't do C++ .
    C++ is hard language, and you have to know what are you doing.

    For bots python is best, it's very easy to learn language, simple to use, lot's of libraries etc.
    I don't know any libraries for Skype or ICQ but i bet you will find some.

    Python is your best friend here.


    What kind of answers they are suppose to be? It's same every time or based on previous message?
     
    • Thanks Thanks x 1
  3. itz_styx

    itz_styx Jr. VIP Jr. VIP

    Joined:
    May 8, 2012
    Messages:
    1,112
    Likes Received:
    579
    Occupation:
    CEO / Admin / Developer
    Location:
    /dev/mem
    Home Page:
    C++ is great if you already have a programming background and dont want to go the lazy way like most hobby programmers to "just get it done the easy way".
    with C++ you can create programs that perform way more efficient and faster than stuff made in python or similar, but you have to take care of memory handling and this can cost more debugging time.
    i would suggest you start with C# and then move to C++ if you feel like it.
     
  4. JohnyMSF

    JohnyMSF Newbie

    Joined:
    Apr 24, 2019
    Messages:
    18
    Likes Received:
    5
    Gender:
    Male
    So simple elegant solution must be lazy? What?
    So why TensorFlow is made in python...
    I like when everybody forget about numpy and say python is slow. (it's slow)
     
  5. itz_styx

    itz_styx Jr. VIP Jr. VIP

    Joined:
    May 8, 2012
    Messages:
    1,112
    Likes Received:
    579
    Occupation:
    CEO / Admin / Developer
    Location:
    /dev/mem
    Home Page:
    python is just the first client language, but TensorFlow core is made in C++ as far as i know...
    look around almost everything of the more complex and advanced programs you rely on are made in C/C++, your OS, browsers etc and that is for a reason.
    python is a language that was made to make things easier, but its also slower and more bloated as you rely on all kinds of libs (offten made in C btw) without doing it yourself and without having to know anything about how things really work. hence why it is prefered by hobby programmers i.e. python + selenium instead of using pure http requests.
     
  6. thetrustedzone

    thetrustedzone Jr. VIP Jr. VIP

    Joined:
    Jun 15, 2010
    Messages:
    3,238
    Likes Received:
    2,514
    Home Page:
    c++ is great language , but keep in mind learning curve and coding/testing time is longer than other new languages like c# or python , c++ not for individual coder , companies uses c++ they have team of skilled c++ coders ..., i recommend to use c# will do all of what you mentioned above , python is a choice also .
     
  7. JohnyMSF

    JohnyMSF Newbie

    Joined:
    Apr 24, 2019
    Messages:
    18
    Likes Received:
    5
    Gender:
    Male
    Yes exactly, everything solid is made is C++
    But he just want some auto-reply bot.
     
  8. itz_styx

    itz_styx Jr. VIP Jr. VIP

    Joined:
    May 8, 2012
    Messages:
    1,112
    Likes Received:
    579
    Occupation:
    CEO / Admin / Developer
    Location:
    /dev/mem
    Home Page:
    and he asked about C++ so i gave my opinion on it. if he wants to start with it, its good, you don't always have to use the easiest solution as its often not the best, thats all i'm saying.
    of course if you just want something that works and dont care how its done or if its efficient, then yes some easy language would be fine too.
     
    • Thanks Thanks x 1