Thursday, April 9, 2015

Introduction to C++ (and programming duh!)

                                  Programming; the what.

Ever wonder what is running at the back end of your operating system? how your video games run? what's the code to your favorite app? how Facebook runs? Well to answer all the questions above, I will say ; computer programming is how all of these things run and operate. Meaning that whatever you see before you is the hard work of some guys high on coffee and sugar coding away in the night regardless of the fact that their clothes stink, that there's a nest of parakeets in their disheveled hair and that they haven't pooped in a week. LOL.. Its not that bad, its quite fun actually once you get the hang of it.
Programming is the process of translating instructions to a computer so that it may follow the instructions and create an output that we also know as a program or a software. From Windows 8.1 to the snipping tool, every nontangible thing is a software when it comes to computers. Those who write the code are known as programmers and they will be the Gandalfs of tomorrow, the Jedis, the Harry Potters, the ninjas and blah blah blah. So without further ado let me tell you how to learn programming. Believe me when I say that you can learn it. Don't listen to those who say that you cant. You don't need such negativity in your life.
                  Programming; the why.
                                                      Why learn programming? Well firstly every single field uses programs be it Civil engineering, electrical engineering, mechanical or even chemical engineering. Businessmen use programs, Scientists do, Accountants use them, even your microwave is pre-programmed. Just imagine "Watch dogs" now imagine something exactly like it but real. Yes, we are not encouraging you but you can surely become a hacker if you learn programming. Yeah you read that right. :D In the coming years programming is going to be a prerequisite for most of the jobs in different industries so why not join the bandwagon while there are a lot of empty seats in it? Then you can say "I knew programming before it was cool". "Nuff said

                       Programming; the how.

So you want to code ? Normally websites like KhanAcademy and Codecademy tell you to start off with JavaScript or Php or Python but they're missing the point. You cannot master programming without having a firm grip, a certain grasp, over the low level languages ( those languages that the computer can easily decipher) like C++, C or C#. We will teach you to learn, understand and eventually code in C++ because it is the choice of a majority of institutes to teach their students in the first few semesters. So without further ado, we would like you to download an IDE (integrated developer environment) of your choice. We use Dev C++ and its a lightweight IDE by Bloodshed. So go ahead and download it. Install it and you shall see this window:





Now you have an IDE for your programming. Consider it a laboratory for your experiments. The how of programming shall continue throughout the lessons in this blog.
To properly introduce yourself with C++, please visit the link