Search
Post Calendar
May 2024 M T W T F S S 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Categories
Interesting blogs
References
Croatian Linux Portal
Meta
Tag Archives: class
Decoupling
Someone asked me what can he do with interfaces and abstract classes. Plenty of fun there as we shall see now. I’ll use C++ and C# in this example, and I’ll present this on simple math operations. Interfaces and abstract … Continue reading
Posted in CSharp, OOP, Posts in English, Programming
Tagged abstract, base, c, c#, c++, class, constructor, cplusplus, cpp, csharp, delegate, derive, dispatch, event, function, implement, inheritance, interface, main, math, method, minus, number, operation, plus, programming, properties, property, pure, static, string, virtual, void
Leave a comment
Shoot yourself in the foot using c#
I’m drunk, way past the Ballmer peak, and now, I need to explain to you in detail how to shoot yourself in the foot with C#, following the concept “Program to an interface”. You can take me for granted or … Continue reading
Posted in CSharp, General, OOP, Posts in English, Programming
Tagged abstract, aim, alcohol, argument, ballmer, bullet, c, c#, c++. cpp, class, cplusplus, csharp, design, drunk, exception, feet, foot, funny, gun, implement, interface, null, nullargumentexception, patterns, peak, programming, sharp, shoot
1 Comment
Namespaces in c++
Disecting namespaces What are namespaces? Why use namespaces? Namespaces are segments of code which contain grouped entities like classes, variable definitions and objects under one name in order to avoid some entities with the same name to collide, which results … Continue reading
Implementing stack in Cpp using classes
This post is about implementing stack data structure inside a class. Stack is based on LIFO structure (Last-In-First-Out), and of course it’s designed to be useful. LIFO means that whatever comes last onto stack must come out first. Stack data … Continue reading
Posted in Cpp, OOP, Posts in English, Programming
Tagged class, constructor, data, FIFO, inherit, LIFO, malloc, object, oop, operator, oriented, overload, peek, poke, pop, programming, push, stack, structure
Leave a comment
Class inheritance in c++
Another post in series of object oriented programming posts. Here will be discussed about class inheritance in C++. If you’re unfamiliar with the term you can read this post: Introduction to classes and objects. What will you learn here: Define … Continue reading
Posted in Cpp, OOP, Posts in English, Programming
Tagged base, c, c++, child, class, constructor, cpp, inheritance, initialize, method, modifier, object, oop, oriented, overload, override, parent, private, programming, property, protected, public, subclass
Leave a comment