Flylib.com

Books Software

 
 
 

Textbooks, Reference Books, and Quick Reference Guides

 < Day Day Up > 


Textbooks, Reference Books, and Quick Reference Guides

To be a successful C++ programmer you will need at least three books: A textbook , a language reference book, and a quick reference guide.

What you are reading is a textbook. I put a lot of thought and work into it and as a result I feel it will serve your needs as a textbook very well. However, it is not a language reference book or a quick reference guide to the C++ language. No textbook on the C++ language can be everything to everybody. The C++ standard is over 700 pages long. This book would be huge, and a huge waste of your time, if I tried to include in it everything contained in the standard. Also, when you are in the heat of programming and you just want to quickly see how to declare a class or write a for loop this book will not be the best place to turn .

If you are reading this book you have in your hands a great textbook. In the reference section below I have listed several reference books and quick reference guides I think you will find them very helpful. If it is listed in the reference section I have personally used it and wholeheartedly recommend it.



 < Day Day Up > 
 < Day Day Up > 


Summary

The source of a student’s difficulty with learning a programming language lies not with the language itself, but with the many other skills that must be mastered almost simultaneously along the way. Students will find it helpful to know the development roles they play and to have a project approach strategy.

The three development roles played by a student are those of analyst, architect, and programmer. As analyst students should strive to understand the project’s requirements and what must be done to satisfy those requirements. As architect students are responsible for the design of their project. As programmer, students will implement their project’s design in the C++ language.

The project approach strategy helps novice and experienced students systematically formulate solutions to programming projects. The project approach strategy deals with the following areas of concern: requirements, problem domain, language features, and design. By approaching projects in a systematic way, students put themselves in control and can maintain a sense of forward momentum during the execution of their projects. The project approach strategy can be tailored to suit individual needs.

Programming is an art. Formulating solutions to complex projects requires lots of creativity. There are certain steps students can take to stimulate their creative energy. Sketch the project design before sitting at the computer. Reserve quiet space in which to work and, if possible, have a computer dedicated to school and programming projects.

There are five steps to the programming cycle: plan, code, test, integrate, and factor. Use stubbing to test sections of source code without having to code the entire function.

There are two types of complexity: conceptual and physical. Object-oriented programming and design techniques help manage conceptual complexity. Physical complexity is managed with smart project file management techniques and by splitting projects into multiple files.

Use the # ifndef , #define, and #endif preprocessor directives to create header files. Use the #include preprocessor directive to include header files in implementation files.

Self-commenting source code is easy to read and debug. Adopt smart variable, constant, and function naming conventions and stick with them.

Minimize coupling, maximize cohesion!

This is a great textbook ! Now, go get a good reference book and quick reference guide.



 < Day Day Up >