Coronado Enterprises C++ TUTOR (ver 2.20)
Gordon Dodrill - Jan 20, 1992
Copyright (c) 1989, 1990, 1992 Coronado Enterprises
This is the texinfo version of the
Coronado Enterprises C++ TUTOR (ver 2.20)
Gordon Dodrill - Jan 20, 1992
Copyright (c) 1989, 1990, 1992 Coronado Enterprises
Coronado Enterprises
12501 Coronado Ave NE
Albuquerque, New Mexico 87122
1 Release notes
2 Table of contents
3 Introduction
4 Chapter 1 - Simple Things
5 Chapter 2 - Compound Types
6 Chapter 3 - Pointers
7 Chapter 4 - Functions
8 Chapter 5 - Encapsulation
9 Chapter 6 - More Encapsulation
10 Chapter 7 - Inheritance
11 Chapter 8 - More Inheritance
12 Chapter 9 - Multiple Inheritance and future directions
13 Chapter 10 - Virtual Functions
14 Chapter 11 - More Virtual Functions
15 Chapter 12 - Flyaway Adventure Game
16 Sample Source Code
17 Chapter 1: CONCOM.CPP - Constants and comments
18 Chapter 1: SCOPEOP.CPP - Scope operator
19 Chapter 1: MESSAGE.CPP - The stream library
20 Chapter 1: FSTREAM.CPP - File streams
21 Chapter 1: VARDEF.CPP - Variable definitions
22 Chapter 2: ENUM.CPP - The enumerated type
23 Chapter 2: STRUCTUR.CPP - The structure
24 Chapter 2: CLASS1.CPP - The class
25 Chapter 2: UNIONEX.CPP - The union
26 Chapter 2: TYPECONV.CPP - Type conversions
27 Chapter 3: POINTERS.CPP - Using Pointers
28 Chapter 3: NEWDEL.CPP - New and delete operators
29 Chapter 3: FUNCPNT.CPP - Function pointers
30 Chapter 4: PROTYPE1.CPP - Using prototypes
31 Chapter 4: PROTYPE2.CPP - Using prototypes
32 Chapter 4: PASSREF.CPP - Pass by reference
33 Chapter 4: DEFAULT.CPP - Parameter defaults
34 Chapter 4: VARARGS.CPP - Variable number of arguments
35 Chapter 4: OVERLOAD.CPP - Overloading function names
36 Chapter 5: OPEN.CPP - No information hiding
37 Chapter 5: CLAS.CPP - Information hiding
38 Chapter 5: OPENPOLE.CPP - Corruptible data
39 Chapter 5: CLASPOLE.CPP - Protected data
40 Chapter 5: CONSPOLE.CPP - Constructors and destructors
41 Chapter 5: BOXES1.CPP - All in one file
42 Chapter 5: BOX.H - Box interface
43 Chapter 5: BOX.CPP - Box implementation
44 Chapter 5: BOXES2.CPP - Using the
45 Chapter 5: DATE.H - The date class header
46 Chapter 5: DATE.CPP - The date implementation
47 Chapter 5: USEDATE.CPP - Using the date class
48 Chapter 6: OBJARRAY.CPP - An Array of objects
49 Chapter 6: OBJSTRNG.CPP - An object with a string
50 Chapter 6: OBJINTPT.CPP - An object with a pointer
51 Chapter 6: OBJDYNAM.CPP - Dynamic allocation of objects
52 Chapter 6: OBJLIST.CPP - Embedded pointers
53 Chapter 6: OBJLINK.CPP - Linked list of objects
54 Chapter 6: NESTING.CPP - Nested classes
55 Chapter 6: OPOVERLD.CPP - Operator overloading
56 Chapter 6: FUNCOVER.CPP - Function name overloading
57 Chapter 6: TIME.H - The time class header
58 Chapter 6: TIME.CPP - The time implementation
59 Chapter 6: USETIME.CPP - Using the time class
60 Chapter 7: VEHICLE.H - Vehicle interface
61 Chapter 7: VEHICLE.CPP - Vehicle implementation
62 Chapter 7: TRANSPRT.CPP - Using the vehicle class
63 Chapter 7: CAR.H - Car interface
64 Chapter 7: CAR.CPP - Car implementation
65 Chapter 7: TRUCK.H - Truck interface
66 Chapter 7: TRUCK.CPP - Truck implementation
67 Chapter 7: ALLVEHIC.CPP - Use of car, truck, & vehicle
68 Chapter 7: NEWDATE.H - The newdate class header
69 Chapter 7: NEWDATE.CPP - The newdate implementaion
70 Chapter 7: TRYNDATE.CPP - Using the newdate class
71 Chapter 8: INHERIT1.CPP - Using public
72 Chapter 8: INHERIT2.CPP - Omitting public
73 Chapter 8: INHERIT3.CPP - Intra class messages
74 Chapter 8: INHERIT4.CPP - Without protected
75 Chapter 8: INHERIT5.CPP - Using protected
76 Chapter 8: INHERIT6.CPP - Using Constructors
77 Chapter 8: INHERIT7.CPP - Arrays and pointers
78 Chapter 9: MULTINH1.CPP - Multiple inheritance
79 Chapter 9: MULTINH2.CPP - Duplicate method names
80 Chapter 9: MULTINH3.CPP - Duplicate variable names
81 Chapter 9: DATETIME.H - Datetime class header
82 Chapter 9: USEDTTM.CPP - Using the datetime class
83 Chapter 9: TEMPLAT1.CPP - Simple template example
84 Chapter 9: TEMPLAT2.CPP - Strings template example
85 Chapter 9: TEMPLAT3.CPP - Class template example
86 Chapter 10: VIRTUAL1.CPP - The starting point
87 Chapter 10: VIRTUAL2.CPP - Adding virtual
88 Chapter 10: VIRTUAL3.CPP - Using pointers to subclasses
89 Chapter 10: VIRTUAL4.CPP - Using virtual
90 Chapter 10: VIRTUAL5.CPP - Using pointers to parent class
91 Chapter 10: VIRTUAL6.CPP - True virtual functions
92 Chapter 11: PERSON.H - Person header
93 Chapter 11: PERSON.CPP - Person implementation
94 Chapter 11: SUPERVSR.H - Personnel header
95 Chapter 11: SUPERVSR.CPP - Personnel implementation
96 Chapter 11: EMPLOYEE.CPP - A simple user program
97 Chapter 11: ELEMLIST.H - Linked list header
98 Chapter 11: ELEMLIST.CPP - Linked list implementation
99 Chapter 11: EMPLOYE2.CPP - A better user program
100 Chapter 12: FLYAWAY.H - Global definitions
101 Chapter 12: CLOCK.H - Clock header
102 Chapter 12: CLOCK.CPP - Clock implementation
103 Chapter 12: WORDS.H - Command parsing header
104 Chapter 12: WORDS.CPP - Command parsing code
105 Chapter 12: ITEMS.H - Moveable items header
106 Chapter 12: ITEMS.CPP - Items implementation
107 Chapter 12: SCHEDULE.H - Scheduler header
108 Chapter 12: SCHEDULE.CPP - Scheduler implementation
109 Chapter 12: LOCATION.H - Locations header
110 Chapter 12: LOCATION.CPP - Locations implementation
111 Chapter 12: MESSAGE.TXT - String messages
112 Chapter 12: FLYAWAY.CPP - Main program
113 Chapter 12: MAP.H - Airport map header
114 Chapter 12: MAP.CPP - Airport map implementation
About This Document
This document was generated on November 11, 2024 using texi2html 5.0.
The buttons in the navigation panels have the following meaning:
Button |
Name |
Go to |
From 1.2.3 go to |
[ << ] |
FastBack |
Beginning of this chapter or previous chapter |
1 |
[ < ] |
Back |
Previous section in reading order |
1.2.2 |
[ Up ] |
Up |
Up section |
1.2 |
[ > ] |
Forward |
Next section in reading order |
1.2.4 |
[ >> ] |
FastForward |
Next chapter |
2 |
[Top] |
Top |
Cover (top) of document |
|
[Contents] |
Contents |
Table of contents |
|
[Index] |
Index |
Index |
|
[ ? ] |
About |
About (help) |
|
where the Example assumes that the current position is at Subsubsection One-Two-Three of a document of the following structure:
- 1. Section One
- 1.1 Subsection One-One
- 1.2 Subsection One-Two
- 1.2.1 Subsubsection One-Two-One
- 1.2.2 Subsubsection One-Two-Two
- 1.2.3 Subsubsection One-Two-Three
<== Current Position
- 1.2.4 Subsubsection One-Two-Four
- 1.3 Subsection One-Three
- 1.4 Subsection One-Four
This document was generated on November 11, 2024 using texi2html 5.0.