You Can Do It!: A Beginners Introduction to Computer Programming

Free Download

Authors:

ISBN: 0470863986, 9780470863992, 9780470863985

Size: 4 MB (4275431 bytes)

Pages: 380/380

File format:

Language:

Publishing Year:

Category: Tags: , ,

Francis Glassborow0470863986, 9780470863992, 9780470863985

* A world-renowned C++ guru adopts a unique, practical approach that gets readers programming in the first chapter* Visually appealing programs provide a major departure from the usual mathematical approach * Tasks provide a key pedagogical vehicle for learning, are intrinsic to the presentation, and can serve as a foundation upon which to build employable skills* CD-ROM includes a tool set to be used in conjunction with the book

Table of contents :
Team DDU……Page 1
Contents……Page 10
How to Use This Book……Page 16
End of Chapter Elements……Page 17
The CD……Page 18
Why fgw?……Page 19
Before Purchase……Page 20
Getting the Best from This Book……Page 21
Notes for Instructors……Page 23
Personal Introductions……Page 24
Acknowledgments……Page 26
What Is Programming?……Page 28
Introduction to Your Programming Tools……Page 29
Our First Program……Page 33
Elements of C++ Programs……Page 37
A Playpen Doesn’t Have To Be White……Page 38
Plotting a Point……Page 40
Modern Art?……Page 42
Tasks, Exercises and Fun……Page 43
Summary……Page 45
Drawing a Cross……Page 48
for-Loops……Page 49
Drawing a Cross Revisited……Page 53
Practicing Looping……Page 54
Simple Arithmetic Operators……Page 55
Roberta’s Comments……Page 58
Solutions to Exercises……Page 59
Summary……Page 60
Drawing a Square……Page 62
The Function Concept……Page 63
Functions in C++……Page 64
Writing a Function……Page 65
Header and Implementation Files……Page 69
Drawing Lines……Page 71
Drawing Sets of Lines……Page 74
Creating Your Own Utility Functions……Page 77
Solutions to Exercises……Page 78
Summary……Page 79
Names and Namespaces……Page 82
Interaction……Page 83
The char and int Types……Page 84
Streams……Page 86
Creating a Simple Dialog……Page 88
Sequence Containers……Page 90
Walkthrough……Page 92
Getting ints from the Keyboard……Page 96
Handling the Unexpected……Page 97
Solutions to Exercises……Page 101
Summary……Page 108
On Not Being Underrated……Page 110
Designing a Type……Page 111
The double Type……Page 112
Creating a Two-Dimensional Point Type……Page 114
Summary……Page 128
Adding Functionality with Free Functions……Page 132
Supporting I/O for point2d……Page 134
Drawing Lines and Polygons……Page 135
Drawing Regular Polygons……Page 140
A Type and an Origin……Page 142
Hints……Page 144
Solutions to Tasks……Page 145
Solutions to Exercises……Page 151
Summary……Page 153
Just for Fun……Page 154
Looking Forward……Page 157
Offering a Set of Choices……Page 162
Dealing with Dependencies……Page 172
Functions that Fill a Polygon……Page 175
Solutions to Tasks……Page 178
Summary……Page 180
Saving and Restoring Images……Page 182
Using Captured Data……Page 184
A Menu-Driven Program with Persistence……Page 188
Iterators……Page 196
Before the Next Chapter……Page 200
Solutions to Tasks……Page 201
Summary……Page 209
Random and Pseudo-Random Sequences……Page 212
Algorithms for Random Numbers……Page 213
Understanding a Lottery Program……Page 214
Sending Hidden Messages……Page 223
Over to You……Page 228
Roberta’s Comments……Page 229
Solutions to Tasks……Page 231
Summary……Page 232
A Keyboard Type……Page 234
Using a Mouse……Page 240
Refactoring Code……Page 244
More Practice……Page 247
Solutions to Exercises……Page 249
Summary……Page 254
Computing a List of Primes……Page 256
A Weaving Simulation……Page 262
Dr Conway’s Game of Life……Page 266
Solutions to Tasks……Page 273
Summary……Page 274
What Is a Set?……Page 276
What Is a Map?……Page 280
Solutions to Tasks……Page 284
Solutions to Exercises……Page 285
Summary……Page 288
Preparing to Program……Page 290
Icons, Sprites and Related Items……Page 291
Making a Font……Page 298
Displaying a String in the Playpen……Page 304
Solutions to Tasks……Page 305
Solutions to Exercises……Page 310
Summary……Page 313
Functions that Remember……Page 314
First Steps to Animation……Page 323
A Matter of Palettes……Page 329
More Advanced Animation……Page 330
Roberta’s Comments……Page 334
Solutions to Tasks……Page 335
Solutions to Exercises……Page 338
Summary……Page 340
Some History……Page 342
Designing a Turtle Type……Page 343
Exploring Turtle Graphics……Page 348
Recursion……Page 351
Wrapping It Up……Page 353
Solutions to Tasks……Page 355
Summary……Page 357
What Use Is What You Have Learnt?……Page 358
Games-Based Problems……Page 359
Analytical Problems……Page 362
Mathematical Problems……Page 363
Where Next……Page 366
Appendix A: Some Common Errors……Page 368
Index……Page 370

Reviews

There are no reviews yet.

Be the first to review “You Can Do It!: A Beginners Introduction to Computer Programming”
Shopping Cart
Scroll to Top