No announcement yet.

C++ Object Oriented Programming

  • Filter
  • Time
  • Show
Clear All
new posts

  • C++ Object Oriented Programming

    C++ has stood the test of time. C++ still competes fiercely with the new computer languages. We just have to respect it. Object Oriented Programming is abbreviated as OOP. In OOP, the word, Class, means a set of variables and functions that would work together. In OOP, and in simple terms, the word, Object, is the class, where the variables have been assigned values and the class is actually usable. Object Oriented Programming is programming, whereby, instead of using variables and functions separately, variables and functions are grouped and used as a group. In this article, I introduce you to a tutorial series on C++ OOP. Object Oriented Programming is slowly, but steadily increasing in popularity. C++ has OOP features. We just have to learn them.

    You need to have basic knowledge in C++ before beginning the tutorials. There are a few other things you need to have learned. You will be told that as you begin the tutorials.

    Procedural Programming and Object Oriented programming
    Procedural programming is programming that consists of variables and functions that are independent. It would have constructs such as the if-construct. It would also have an array. In that kind of programming, execution generally begins from top to bottom. In strict object oriented programming, you have classes and objects and constructs (e.g. the if-construct). Any array in the program is in the form of an object. In strict OOP, a program is the interaction of objects.

    C++ has the important features for you to write a script as object oriented programming. In theory, you can actually choose to write a C++ script (program) as a procedural code or as an OOP code. In practice you have to use a combination of both and as time goes on (future), the ration of OOP should be increasing, as this is the popular trend, which in my opinion, you just have to respect.

    OOP is something you must make an effort to learn. Do not say you will learn the procedural part of a language and leave out the OOP side. It is said that some bosses would not employ you if you cannot code in OOP.

    The tutorials have been prepared in a step-by-step fashion. The code samples are well formatted, with good indentation. There is no missing special character, as you would find in other sites. The links to the different parts of the series are easily accessible. Above all, the tutorials are free. Click the following link to start the series:


    Last edited by DPS Computing; 29-01-2012, 22:40. Reason: Possible spam - many messages with numerous links pasted in. Possible copy/paste