I want to learn to make bots and stuff, I heard c++ is better but " Head First Labs " has a C# book, and their books are amazing, I learned many other languages very easy with head first lab books. Or should I just find another book and stick with C++?
Hey man you shouldn't be talking about making bots on this forum......See site terms You are better off using Google for this answer. Good luck
Oh really? Sorry I didn't know, but what is wrong with bots? I can think of many ways it would be useful to automate a process, but it doesn't necessarily mean it's use would be for anything illegal or anything bad. Ill re read the terms though..
Thanks for clarifying, I guess we all make mistakes... So what would you guys recommend, C# or C++? And I did search Google but would like to hear the communities thoughts since some of you may have experience in coding bots.
C# is allot easier. Obviously some of the more experienced guys will tell you C++ is allot more powerful but if youre only looking to make bots, I would suggest C#. Its allot easier to get started with, or even easier is VB .Net which is just as good as C#. Kinda stupid how you're letting a book determine which language to go for haha, there's allot more to it. I would suggest Learnvisualstudio.net 's video tutorials. Its allot better than reading through 800 pages.
a language is a tool, not a destination. c# is built on the .net framework. it provides the same power as vb.net and all the same framework components. what is nice about these languages is that they are very highly powered, high level, rapid development platforms. the last part is the key. rapid development platforms. c++ will give you more horsepower (that you don't really need for bot design), and allow you things like more granular access to the way memory is allocated, etc... it's not really a rapid development platform. for my money, vb.net is where it's at. the syntax is easy to learn and understand, and you get all the power and benefits of using the .net framework. c++ for bots would probably be a bit over kill. that's not to say don't ever bother learning. as a developer the more languages you know the better, but you will probably find it easier to learn c# or vb.net, and will probably be able to start producing valuable results sooner. one thing also that bears mentioning. .net has some great support in their framework for working with the internet. things like httpwebrequest and the sockets namespace allow you to easily make powerful internet connected applications.
Errr... Those are two pretty big things. Although VB.net and C# are identical in their output/applications. I find vb.net has so much unneeded syntax. It's like they added in a bunch of useless keywords whereas in C#, you take out those keywords and it functions the same. I dunno, that's not a fact i guess, just an opinion. But it just doesn't seem logical to me to go with the language that has twice as many useless keywords to do the same work. To OP. You said you already got the hang of other languages via this book series. What languages? I mean if you already have the grasp of some languages, then you can just port over the knowledge to something else. While not a good example, if you already knew java, you could learn J# aka (MS JAVA).
I personally like C++ more, but i think it's better to use C#. I think you can do everything with C# you need to make bots. It's also easy to make a GUI with c# with c++ its quite a hassle...
i can tell you from experience that job salary isn't dependent on the language. it's dependent on where you work and what you get hired for. pyro i feel the exact same way about c#. i feel that code readability really suffers when you have to put {};; all over everything. the syntax is really personal preference though. my native language is vb, so it's more comfortable for me to continue to use it. at the end of the day aside from the syntax it all gets translated to MSIL and compiled just the same anyways. so whichever language you feel most comfortable learning/using is the one you should pick. it's both funny and infuriating to me at the same time the amount of disinformation that is put out about vb.net. i'm not sure why either. for someone new to programming it provides a much simpler syntax, the same power, and many of your common every day functions are presented in a more accessible manner. i don't see the reason for the prejudice, but it seems people are determined to cling to some made up relationship between the apartment threaded bloat hog that was visual basic, completely discounting that vb.net is a true OOP build on the .net framework. /rant
I studies C++ in my 11th and 12th.But dont know C,so should I study C++ well instead of starting all over it with C again?
i wouldn't really call those notable technical differences. rather minor actually, and only a few of them even vaguely relate to anything functional. mainly they're just different syntax or code structure changes from language, to language which is to be expected. so the crux of your argument really comes down to s syntax preference? is that accurate to say? which would make it an opinion, not a fact. the interesting thing about the syntax being close to other things like java and c++ is that while in many ways from a structural standpoint it is, since you're using the .NET namespaces for most of the operations you perform it's really only similar at a basic level. example a for next loop. but it's not really the same for any of the higher level operations you leverage, such as loading a file. that is quite a bit different. instantiating a filestream object is a far cry from having to manually allocate the memory and load the file like you would in c++ i will give you that it gives you basics of the language structure for some other languages, but that works both ways. anyone fluent in vb.net can go in to a c# codebase and easily pick out the syntactical implementations of the classes that they are familiar with from vb. then you just need to remember which squiggly line goes where and presto, you now know c#. that's how i learned to code in it.
in reality there aren't many languages (aside from ones that aren't used anymore) that i could point to and tell you they're not worth learning. my golden rule is always "learn as much as possible". kind of a "knowing is half the battle" mantra. i know two languages well (vb.net and c#), but i know bits and pieces of many other languages that i have picked up over the years due to necessity, and gradually over time i add a little more and a little more to my knowledge base. that way if something comes up where i need to work in a particular language, i already have a good jumping off point and at least a basic understanding of the syntax involved. one of the important areas to learn effectively are the concepts that govern modern programming. if you have a solid handle on WHY you should do something the HOW (specific syntax, libraries, etc...) becomes far less important. from a conceptual standpoint there is no difference between a loop with an iterator in c#, c++, vb.net, or [insert your language here]. but there are syntax differences as well as some minor nuances to how the concept is implemented. with a good understanding of WHY you want to use an iterated loop though, all you really have to do is look up what buttons you need to push to make it happen.
If you would like an inflated sense of self importance without any real basis for having one, I suggest c#.
c++ is not to hard to learn if u find the right ebook it would be so easy. u just learn how to make some simple algorythms and than it will be a little bit easy to learn to write anything in c++ Algorithms u can learn them for 1 day belive me they are so easy and u have to know a little math so it's just the problem of syntax in programing languages and thats it. and c++ is better for programmers also for them who try to make bots
Which is the best ebook for C++ going into the advanced.I know C++ already.Studied it in my school 11th and 12th. Just need to refine,but I am finding it very confusing with Java and I dont know C at all. So is it worth refining with C++ or studying java.
C or C++ all the way. C# is a toy programming language - you can't do very much with it. Take your time and buy some books.