Programmer's Heaven - For C C++ Pascal Delphi Visual Basic Assembler C# .Net java JSP ASP ASP.NET Javascript developers!

Members
Username:

Password:

Auto-login

Register
Why register?
Forgot Password?
Blogs new Blog section
Jobs
Webtools
Message Boards
FAQ
CodePedia
Free Magazines
User search
What's New
Top lists
RSS Feeds RSS Feed

Submit content
Contact Us
Link To Us
Help



Advanced Search
Newsletter
E-mail:


More information
Current area: HOME -> C / C++ -> Classes & Objects Articles Adds this page to your personal favorites
  Classes & Objects
C++ Classes
For example a building can have walls, windows, height (our variables) but together still remains a building (our class). We can create different instances of buildings, which hold different values (e.g. a house and a office), but they still are part of the building class. Confused? Well we'll try another example. A species is a class of animal (eg a dog); each animal of that class can have certain values (e.g. its age) but each different dog (an object of that class) still remains separate. Lets code this.
Visits: 2963 Updated: 2005-11-13  Rating: (Not Rated)  More info & Ratings
Detail about How VPTR and Virtual table works
Assumption: 32-bit Machine. Here I am going to explain How Virtual table, Virtual pointer for Virtual functions are internally working.
Visits: 29 Updated: 2008-3-10  Rating: (Not Rated)  More info & Ratings
Advertisment
Determining the Size of Class Objects
There are many factors that decide the size of an object of a class in C++. These factors are: 1. Size of all non-static data members, 2. Order of data members , 3. Byte alignment or byte padding and ...
Visits: 784 Updated: 2005-10-26  Rating: (Not Rated)  More info & Ratings
Improving Performance in C++ with Compile Time Polymorphism
Let's take a quick look at using virtual functions and abstract base classes and from there examine a way in which we can improve program performance while retaining the power and flexbility of virtual functions.
Visits: 642 Updated: 2005-11-13  Rating: (Not Rated)  More info & Ratings
Never Call Virtual Functions during Construction or Destruction
This article explains why you should never call virtual functions during object construction and destruction.
Visits: 548 Updated: 2005-11-13  Rating: (Not Rated)  More info & Ratings


Found a broken link? Please report it to us.

 

Sponsored Links 
Build IT Knowledge with Current & Trusted Content
Helps Employees Develop & Hone New Technical Programming Skills. Sign Up & Get Full Access.
Check Out IT Certification Preparation Materials
Sign Up With SkillSoft & Get Access to Training Materials for Over 50 Professional Certifications.
PureCM Software Configuration Management
Version control and integrated issue tracking - powerful and easy to use. Get your FREE trial now!
CSTSOFT Instrumentation .NET & ActiveX Components
A collection of 13 instrumentation .NET/ActiveX/VCL components including Gauge,Knob,LED,Trend etc.
Software Localization Tool Sisulizer
Localize DotNet, C++ Builder, Delphi, C/C++, Visual Basic & Java apps & html help. Try Sisulizer now
Buy a link now

Advertisement

  Free Magazine  
Free Magazines
DV Magazine is the premier monthly publication dedicated to the needs of digital video and web video professionals.
subscribe now


Newsletter Submit Content About Advertising Awards Contact Us Link to us    
© 1996-2008 Community Networks Ltd All rights reserved. Reproduction in whole or in part, in any form or medium without express written permission is prohibited. Violators of this policy may be subject to legal action. Please read Terms Of Use and Privacy Statement for more information. Development by ASP.NET Konsult - Synchron Data.