I am struggling to implement a C++ or C# program which contain the 4 principles of
Oriented Object Programming. It must contain constructor, destructor ,inheritance and encapsulation. I tried the simplests I could think , they all faild.
I dont see the point of giving the code since they were made by me from scratch , but there "broke". I kind fail on inheritance and encapsulation.
If anyone would want to show me the shortest app he can or send me some link which can help me / show me more about it , without bodering him , would be great. I do have exemples with those in my book but there split and I really dont know haw I can use them all in one app. I am still a nooby.
If not , thank you for your attention.
Sry my EN .