OOPortal
RationalDB Database Design
prev next prev next
  Course navigation
 
Lesson 1
Functions and scope
    This module explores the syntax, use, and scope of C++ functions and variables. Functions are very similar in C and C++, but C++ offers some useful improvements, including overloading and inlining. C++ also offers storage classes similar to those of C, which are essential in writing multifile programs.
You will learn:
  1. How C++ uses function prototypes
  2. How using default function arguments can save you time
  3. What it means to overload a function
  4. How to use the keyword inline to speed up programs
  5. The difference between file scope and local scope
  6. How the extern and static storage classes are useful in multifile programs
  7. The rules of linkage for multifile programs
  8. What namespaces are and why they are useful

At the end of the module, you will be given the opportunity to take a quiz covering these topics.
  Course navigation