Failure to do so is a violation of copyright laws. This was a request I got on writing a tutorial on using classes. I know there are already a lot of really great tutorials here on planetsourcecode, but alot of people think I can explain things really well. Intro When attempting to express mind to machine there comes a time when using standard structured programming techniques just gets to heckteck and messy. This is normaly only when writing larger programs, that require quite a massive amount of code.
Classes feature the almighty concept of encapsulation.
What encapuslation basicly is, we have the ability to write code once and 'encapsulate it'. This means that we can create objects that function in many different ways but the actual inner workings of this code are hidden to the person applying it. Its like you can use the code, but you dont have to know how it works. How this is accomplished is by creating a class. Classes stand as a specific type, and when a Instance of this type is made it is called a Object.