Using JetBrains ReSharper with a StyleCop plugin

In September I wrote a short article about writing a clean code. I told you that it is a good habit to implement programs with a one and good style. Today I am going to wrtie something about a special tools which are very useful during programming. First of all, you need to have a … Czytaj dalej Using JetBrains ReSharper with a StyleCop plugin

Virtual methods & overriding in C++

A few months ago my friend asked me if I could explain a virtual methods in C++. How to use them, how to implement and why are these so important when programming? Today I am going to answer all of these questions. First of all, we use virtual methods during inheritance. We create a pointer of base … Czytaj dalej Virtual methods & overriding in C++

Java – Inheritance

According to my latest post about Inheritance in C++, I am going to explain the same in Java. Let's go: We have to create class CFurniture in file named CFurniture.java (here is the first difference ) and then: Then we create another class called CTable (CTable.java): In main we have to write: