Results 1 to 2 of 2

Thread: Oop

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Dec 2001
    Posts
    1,331

    Oop

    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
    steve

  2. #2
    Frenzied Member DevGrp's Avatar
    Join Date
    Nov 2001
    Location
    Charlotte, NC
    Posts
    1,256
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width