basic:programming_cpp
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| basic:programming_cpp [2024/10/10 07:52] – created azman | basic:programming_cpp [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Object-Oriented Programming (OOP) ====== | ||
| - | |||
| - | This module on object-oriented programming is intended for engineering degree students. | ||
| - | |||
| - | To go through this course, you're expected to have some basic computer programming knowledge (preferably C). | ||
| - | |||
| - | Object-oriented programming (OOP) is a programming technique that evolves from the more common procedural/ | ||
| - | |||
| - | The main features of OOP are encapsulation, | ||
| - | |||
| - | //To be continued...// | ||
| - | |||
| - | [[wp> | ||
| - | |||
| - | ===== Structured Programming ===== | ||
| - | |||
| - | //coming soon...// | ||
| - | |||
| - | ===== Development Environment ===== | ||
| - | |||
| - | //coming soon...// | ||
| - | |||
| - | ====== Part 00: Introduction to OOP ====== | ||
| - | |||
| - | ===== Objective(s): | ||
| - | |||
| - | To familiarize with terms and stuffs in object-oriented programming. Also, basic transition from C to C++ will be demonstrated. | ||
| - | |||
| - | ==== What is OOP? ==== | ||
| - | |||
| - | It is a programming paradigm (or programming style, if you please) that focuses on modelling solution components as objects, rather than concentrating on the solution procedures. Obviously, it is not a new language - but it does need proper language support (i.e. constructs) in order to implement the concept. Some may use a language that supports OOP but still use modular or simply procedural programming. | ||
| - | |||
| - | //to be continued...// | ||
| - | |||
| - | ==== Why OOP? ==== | ||
| - | |||
| - | |||
| - | - (lec) course briefing and refresh basic programming | ||
| - | - (lec) implementation platform revised (c++ instead of java) | ||
| - | - (lab) development environment (using mingw) | ||
| - | - (lab) refresh basic programming | ||
| - | - modular/ | ||
| - | - from c to c++ | ||
| - | - basic overview of c++ | ||
| - | - keyword(s): structs, classes | ||
| - | - basic phonebook application | ||
| - | - compare modular/ | ||
| - | - encapsulation | ||
| - | - keyword(s): private, protected, publid | ||
| - | - member functions | ||
| - | - constructor, | ||
| - | - dynamic dispatch | ||
| - | - intro to inheritence | ||
| - | - lab assessment 1 | ||
| - | - access for inherited properties/ | ||
| - | - more inheritence... multiple? | ||
| - | - keyword(s): virtual | ||
basic/programming_cpp.1728517942.txt.gz · Last modified: by azman
