C++ LECTURETTES
Table of Contents, Page 1
©
M.L.Turnbull
1997, 1998
Go to:
GLOSSARY OF TERMS
TABLE OF CONTENTS, PAGE 2
TABLE OF CONTENTS, PAGE 3
TABLE OF CONTENTS, PAGE 4
TABLE OF CONTENTS, PAGE 5
TABLE OF CONTENTS, PAGE 6
INTRODUCTION
Introduction
Background
How to use this document
Feedback Request
Acknowledgments
FUNCTIONS AND DATA TYPES
Functions
Why Use Functions
Arguments and Parameters
The Function Header
Return Data Value
Reference Parameters
Constant Reference Parameters
Data Types and Data Objects
Data Types
Data Objects
Compound Data Types
Fundamental Data Types
Simple Data Types
Compound Data Types
Arrays
Unions
Structures
Classes
Declarations and Definitions
Declaring and Defining a Variable
Variable Initialization
Declaring and Defining Functions
Function Prototyping
PROGRAMMING TECHNIQUES
Multi-file Programming
Header and Implementation Files
Logical Files
Object Code Files
Basic Program Schematic
Pre-compiler Directives
The
#include
Directive
Intermediate File Schematic
Prepackaged Function Libraries
User Defined Function Libraries
Program Development
Implementation File Testbed
Individual Function Testbed
Duplicated Compilation
The
#define
Directive
The
#ifndef
and
#endif
Directives
Turbo C++ V4.5 Projects
Program Schematic Diagram
First Write Your program
Start With a Blank Screen
Open a New Project
Add the Implementation Files
Generating the Executable File
Running the Program
Closing the Project
Opening an Existing Project
This is:
Table of Contents, Page 1
Go to:
GLOSSARY OF TERMS
TABLE OF CONTENTS, PAGE 2
TABLE OF CONTENTS, PAGE 3
TABLE OF CONTENTS, PAGE 4
TABLE OF CONTENTS, PAGE 5
TABLE OF CONTENTS, PAGE 6
C++ LECTURETTES
© Michael L. Turnbull 1997, 1998
M.Turnbull@cqu.edu.au
Revised 14 february 1998 by Mike Turnbull