Hi. OOP principles !

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 .

Peace !

Last edited on
> I tried the simplests I could think , they all faild.
¿fail how? ¿who say they failed?

> I dont see the point of giving the code since they were made by me from scratch , but there "broke".
we may fix them, but we do need to see them.
I solve it thank you. I decided to only not put encapsulation in the program. Is work like that , hope my teacher will pass me without that :))) .
Topic archived. No new replies allowed.