C++ Rudiments Dynamic Memory. C++ Structures Stream Objects.[r]
(1)Session - C++ Foundations
C++ Rudiments Dynamic Memory
(2)Objectives(1) • C++ Rudiments – Keywords – Comments – Declarations – Prototypes
– Function Overloading – References
– Casts
• Dynamic Memory
– new [ ] – delete [ ]
– Memory Allocation Failure – new
(3)Objectives(2) • C++ Structures
– Member Functions – Privacy
• Stream Objects
– ostream Objects – istream Objects – Stream States
(4)C++ Rudiments
(5)Keywords(1)
C++ specific: maroon
(6)(7)Summary
• C++ Rudiments
– …
– Function Overloading – References
• Dynamic Memory
– new [ ] / delete [ ]
– Memory Allocation Failure – new/ delete
• C++ Structures
– Member Functions – Privacy
• Stream Objects
– ostream/ istream Objects – stream States
– Robust Validation