C++: Making Bots

i write all my bots in PHP and use CURL to communicate to the outside world. No GUI's, just cli logging and hardcoded parameters (i don't sell them and most bots are programmed very simply and for one purpose only)
 
I am mainly a C# user however :P, C++ have plenty of libraries too do not underestimate it. For example you have libcURL with a c++ wrapper curlpp, cpp-netlib, you can make your own, POCO and more.

I am c++ guy too, I know there are lot libraries like libcurl, roguewave, boost etc.. but for bots C# is the best bet as it has lots of built-in libraries. So it's not underestimation... why would u need a truck if you can go by a bicycle??
 
If I want the truck or the bicycle depends if I am going to the next door shopping or the next town :), it depends on far too many things to use this vague saying. Dont mean any harm. If I am doing something real simple I may opt for C# due to its simplicity but in some cases I may opt for c++ due to the fact I can port it into linux for instance while on c# I will depend on mono and what it support. So that will really depend on what I am doing, what I will need to use, etc.
 
Last edited:
Message me when you wanna talk about creating a bot for micro niche websites
i dont have time to gossip
i have money. And i plan to make money
 
You can see some video tutorials and then practice those on your own. And that is how you can do that.
 
Can anyone recommend some books on learning how to make bots with C++. I've looked around and haven't found any good ones. I looked at tutorials on youtube but they mainly focus on console applications as oppose to using Visual Studio to create bots. The Visual Studio tutorials which do exist have very limited information on making bots and how to go about it.

Also, is C++ a fairly good language for creating bots - I want to automate web processes like making a bot which creates a squidoo lens for example. I'm quite familiar with PHP and someone I know suggested I look at C++ because the syntax is very similar.
Is C++ a good language for bots? No and no! I would pickup Python or Perl or Ruby.
 
I have no experience with making typical bots like crawlers, but I think the best language fir bots today is python.
 
Firstly I apologize for bumping this thread, but for the misinformation that is running rampant in this thread I feel it is justified.

Since it's much easier to get rid of the shortest list first, we will start with why C# is superior to C++ for this particular task: It takes less time to program a functional bot in C# than C++ (debugging in C++ is a pain in the ass). That is the only pro to choosing .NET over actual code.

Now for the part that will make you all mad:

C++ is faster (MUCH faster)
C++ isn't sandboxed
C++ can be used on any operating system (with different OS-specific API's, of course - and the problem with globalized code can be fixed easily with cross-platform frameworks such as QT by Nokia if you're concerned with a fancy GUI)
If you're doing any sort of memory reading or writing, C++ is superior since it has these fancy things called pointers. It also has support for inline assembly if you need to do any sort of low level stuff or are reversing a function and want to test pushing params to the stack to debug.
It is much easier to reverse any compiled application in .NET (C++ included), and C# is nothing BUT .NET. You can literally download a program and decompile someone else's application and view the raw source code.

The downside to C++ is that it takes a little bit of time to learn and can be exhausting to debug (I've spent HOURS debugging my code when all I was missing was a semi-colon!). However if you're committed to learning how to program in a low-level language, C++ is definitely the way to go. It's powerful, can be used in everything from console apps, server software, video games (and game hacks - which are fun as hell to make, by the way), and even native plugins for browsers (think Unity Player, Flash, DivX, etc).

I hope I've cleared some things up for you.

(Note to everyone reading this: If you feel I've provided false information in any way, shape, or form, please let me know. I try to be as unbiased as possible when giving advice to new programmers, however I personally favor C++ over ANYTHING .NET-related for the reasons stated above).
Please can you help me with materials on learning C++ and probably what to work on as first project..
 
Well, since Ive found new cool procedure and functions which allow me to perform clicks based on screen coordinates and perfirm keystrokes - I have to change my opinion about creating bots.

Its possible and quite easy to create bot in delphi/cpp builder BUT you have to answer yourself - what you need bot for.
 
Back
Top