PDA

Click to See Complete Forum and Search --> : Oop


steve_rm
Nov 12th, 2004, 11:50 PM
Hello,

I am developing a database application for a library system. I have teachers, students, and books. I have done programming in oop in C++/java. I know about classes, objects, heratance,multiple heritance and polymorpthom. But l am not sure how l could apply this to my database application in visual C#. I know that everything in C# is made up of classes and objects with the controls.

If l was to do this application in C++ or java, then my classes would be teacher, student, and book. Then the instance variable for the student would be things like IDNumber, Name, Address, phoneNo, and e-mail, etc. The instance methods would be addStudent, updateStudent, deleteStudent, etc.

But l am not sure how to apply this in Visual C++. Do developers in the real-world use classes and objects? Does anyone have a small example program that l could examine? Or is there any tutorals on the internet that shows you a step by step in developing a database application using classes and objects.

Thanks for your help,

Steve

DevGrp
Nov 15th, 2004, 09:48 PM
The same way you do it in C++ is the same way you would do it in C#. Same principles, different language.

An yes developers uses objects and classes in the real world.