Starting Out with C++

Front Cover
Pearson Education, Limited, 2003 - Computers - 288 pages
This lab manual provides students with hands-on experience of programming concepts that are introduced in the introductory programming course. You can try out a number of different things with pre-developed code and guided steps needed to turn the code into successfully working programs, preparing you to later create your own programs. Each lesson set contains a pre-lab reading assignment, pre-lab writing assignment and lesson A and lesson B lab assignment as the learning activities.

Contents

Translation Process
3
LESSON SET 2 Introduction to the C++ Programming Language
13
LESSON SET 3 Expressions Input Output and Data Type Conversions
25
Files
31
Nested if Statements
44
Lesson 4A
48
LESSON SET 5 Looping Statements
55
The for Loop
61
The Bubble Sort
143
LESSON SET 9 Pointers
157
Review of and
166
LESSON SET 10 Characters and Strings
175
The get and ignore functions
181
Lesson 10
187
LESSON SET 11 Structures and Abstract Data Types
195
Initializing Structures
201

LESSON SET 6 1 Introduction to Void Functions Procedures
75
Pass by Reference
81
LESSON SET 6 2 Functions that Return a Value
91
Overloading Functions
99
2B
106
LESSON SET 7 Arrays
113
MultiDimensional Arrays
122
LESSON SET 8 Searching and Sorting Arrays
137
Structures and Functions
213
Files Used for Both Input and Output
219
Files and Records
226
LESSON SET 13 1 Introduction to Classes
243
Complete Program
251
APPENDIX A Visual C++ Environment
271
Index
277
Copyright

Bibliographic information