Topic List | Page List: 1 |
---|---|
Topic | C++ class Blog topic. |
LookANinja 02/05/18 6:33:18 PM #36: | And finally the study guide for exam 1 on thursday. These are the concepts that you should be familiar with for Exam #1. Preprocessor directives: - #include <iostream> - #include <iomanip> - #include <string> Namespace: - how to make objects from the std namespace available I/O streams: - cout - default device its associated with - default justification - default precision - cin - default device its associated with - << (stream insertion operator) - stream it's used in conjunction with - >> (stream extraction operator) - stream it's used in conjunction with - limitations in terms of strings - how it handles white space Manipulators (what they do, parameterized , single-use or persistent): - endl - fixed - left - right - setprecision - setw Functions and methods used on/with streams: - getline() - cin.getline() - cin.ignore() - when is this used? Variables: - definition of different types - normal, pointer, reference - what is necessary when defining a variable that is a reference - scope Control structures: - if and if / else statement - while loop - do while loop - for loop Operators (relational, equality, assignment, etc.) Functions: - Declaration - function prototypes - Definition - the actual function code - Calling / invoking - Argument passing - different methods - by value - by pointer/address - by reference - Inline - what makes a good candidate for an inline function - Overloading - how the compiler checks the validity of an overloaded function - Default parameter values - what condition must be met when these are used? - Templates - syntax - benefits of using them --- ... Copied to Clipboard! |
Topic List | Page List: 1 |