Welcome to the WebHome of Tan Mien Duan, Michael
 
 
 You are currently in the Programming section of my WebHome   
         This page contains   
       programming related   
              information   
   
   
   
   
   
   
   
   
   
   
   
   
   

   
   
   
   
   

   

This web site is best viewed   
using the following    
recommended browsers   
   

   
Internet Explorer 4.0 above   
   

   
Netscape 3.0 and above

   
Object-Oriented Programming 
   I did not have a clue what this was until a fellow professional programmer (Systems Engineer) told me... in Plain Simple English! Finally, no jargon... !    

   So what is an object... simply put,  an object is a variable. But this variable is very special. A normal variable would be able to hold only one information. For example, in C++ programming, defining  "int x;" means you have a variable called "x" and it can hold one data type of the form integer.    

   This is the tricky part. Our special variable can hold more than one type of variable... something like a structure. So I can have a variable of "int x;" and "char y;" inside my variable. To access these variables, I simple just equate a = exam.x or a = exam.y, where exam is my object.    

  That's not all (otherwise it would be a structure in itself), it can also store "functions". So I can execute these functions, say, exam.ProcessGrades(score); which in this case, will execute ProcessGrades function which is pre-written inside the variable.    

  I hope this simplifies the understanding of objects. A few technical terms to get you moving:    

  • Member Function - Function stored in the object
  • Member Variable - Variables stored in the object
  • Private - Member Variables or Functions that cannot be called as in the example above
  • Public - Member Variables and Functions that can be called as in the example above (external calling)
  Check back here for more. I'll put up more sections on Object programming (like how to do it) soon.    

MFCs & Visual C++    

   Unfortunately, I don't really have the time to write on these issues. However, there is a great site that teaches you everything on it. Click on the button below and it'll bring you directly there. Send my regards to Zafir Anjum (creater of codeguru.com) and Chris Maunder while you are there.    

www.codeguru.com    
www.codeguru.com    
By the way, I created this button as well... hehehe  
(Nice ?)    
  
  

  

 
 Previous Page
(Tecniques in programming)
   

   
   

 Go Home
Go Home
Home Page
Personal Particulars
Curriculum Vitae
Current Work
Previous Works
Programming
Friends
My Special Half
Sign my Guest Book
Send me an email
Remote
 
 

Home    Personal   Cirriculum   Hobbies   Current   Previous   Programming   Friends   Special
                                     Vitae                           Work      Works                                                 Friends
 
  
 
  1