1 / 22

CSE Object Oriented Programing

CSE Object Oriented Programing. Let’s explore and move to “Better C”. Lecture #0. Course objectives. To understand basic programming constructs and use the newly acquired skills to solve extensive programming problems .

rritter
Download Presentation

CSE Object Oriented Programing

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CSEObject Oriented Programing Let’s explore and move to “Better C” Lecture #0

  2. Course objectives • To understand basic programming constructs and use the newly acquired skills to solve extensive programming problems. • To understand the principles of the object-oriented model and its implementation in the ‘C++' language. • To build on the concepts learned in C language and use the power of object oriented programming to develop software applications. • To enable the students to write and execute well structured 'C++' programs. • To use problem solving and program design techniques effectively to generate applications.

  3. The hitch… • The BURNING questions in mind… • Oh no… Why another Programming Language ? • What would we do with it, we already know C? • Will it really help improve my programming skills?

  4. A Better C • C++ • Improves on many of C's features • Has object-oriented capabilities • Increases software quality and reusability • Developed by BjarneStroustrup at Bell Labs • Called "C with classes“ an enhanced version of C • Superset of C • Can use a C++ compiler to compile C programs • Gradually evolve the C programs to C++ Towards better programming….

  5. Overview of topics unit wise • Unit I: Concepts and Basics of C++ Programming,Functions and Input/output Streams, Array • Unit II: Pointers, Reference Variables and String Concepts • Unit III: Structured Data Types and Classes, Operator Overloading and Type Conversion

  6. Course contents • Unit IV: Inheritance and Aggregation, Dynamic Memory Management • Unit V : Polymorphism and Data File Operations • Unit VI: Templates and Exception Handling, The Standard Template Library

  7. Unit I:Console based Input/Output Bring in through cin and Take out through cout

  8. Unit I (Continued): Function and Array

  9. Unit II:Pointers and Strings Here you will study about different types of pointer. • Null pointer • Wild pointer • Void pointer • Dangling pointer • This pointer….

  10. Unit III: SDT,Operator Overloading & Type Conversion Look around you and identify some objects Everything is an OBJECT

  11. Object ,Object and Object A student, a professor A desk, a chair, a classroom, a building A university, a city, a country A subjects such as Physics, Math, History, …

  12. Let us explore about LPU • LPU is defined by the interactions among various objects: • Students • Professors inside LPU • Staff • Board governance • State governance outside LPU • … ...

  13. Daily Analysis • In real world, many objects are of same kind.

  14. Encapsulation

  15. Hidden reality sometimes in daily analysis • If you want to know about anything like places to be visited in Jalandhar then what will you do? You simply text that in Google search Box

  16. Reuse, Reduce & Reliable !!! Existing Features Existing Features + Additional Features

  17. Hiding Details

  18. Unit IV: Inheritance But Mummy, where did my blue eyes come from?

  19. Unit V: Polymorphism In front of father In class In CCD One thing and many forms

  20. Polymorphism (continued)

  21. Unit VI: Exception Handling

  22. Next Class: Concepts and Basics of C++ programming Any Question?

More Related