Skip to main content

Beginning Programming

Beginning Programming

Adrian Kingsley-Hughes, Kathie Kingsley-Hughes

ISBN: 978-0-764-59748-0

Mar 2005

479 pages

Select type: E-Book

Product not available for purchase


  • Programming allows developers to create a sequence of instructions that enable computers to perform certain functions and tasks
  • Offering the basic best practices and skills for novice programmers, this book helps readers gain new skills for writing programs and developing applications
  • Teaches programming using C++ and explores scripting with JavaScript and VBScript, which are all free and don't require the reader to purchase any software
  • Includes programming projects and real-world code examples that can be modified and expanded upon

Chapter 1: What Is Programming?

Chapter 2: Why Learn to Program?

Chapter 3: How Computers “Read” Code.

Chapter 4: From Concepts to Code — The Language of Code.

Chapter 5: The Tools for Programming.

Chapter 6: Simple Coding.

Chapter 7: The Structure of Coding.

Chapter 8: Problem Solving.

Chapter 9: Debugging.

Chapter 10: Interface.

Chapter 11: Putting It All Together.

Chapter 12: Interacting with Files.

Chapter 13: The Windows Registry.

Chapter 14: Organizing, Planning, and Version Control.

Chapter 15: Compiling Code and Alternatives to Compiling.

Chapter 16: Distributing Your Project.

Appendix A: Glossary.

Appendix B: Web Resources.


“A welcome addition to Wrox’s Beginning series and a good all-round introduction to programming for novices.” (Publishing News, 25th March 2005)
The code from the book in .zip format
The code from the book in .zip format
Code downloads for this title are available here.
The code from the book in .zip format
The code from the book in .zip format
Code downloads for this title are available here.
Missing answers to the "Quick Questions"
ChapterPageDetailsDatePrint Run
Missing answers to the "Quick Questions"
See the download page for the file containing the answers.

222Error in Text
PHP (Perl Hypertext Processor)
should be:
PHP (PHP: Hypertext Preprocessor)

56Error in Binary
under the sentence Add zeros to the left-hand side....
the binary readout:

Should be:

67Error in Text
for the Or Logical Operator. In the In English statement, the x is equal to 5, and y is equal to 5. Should be: In the In English statement, the x is equal to 6, or y is equal to 5.

94Wrong File Path
It is shown that the two cfg files should be saved in:

The compiler will not work if they are saved there. It cannot find the include files. You need to save the files in

133This page has duplicate sections
There is a listing twice on the page and the code is repeated as well. It begins with That's simple .

167-168Incorrect ASCII values
In the ASCII table the characters corresponding to some of the ASCII values are incorrect. The correct values are:

ASCII      Character
--------    -------------
97              a
103            g
109            m
115            s
121            y

177-178Answer for code sample 6
The provided downloadable answers do not include an answer for code sample 6, only questions 1 to 5:

1 - 13
2 - 10
3 - No
4 - Yes
5 - An integer greater than 14

So...the answer for Q6 on page 178 should be:

6 - An integer greater than 12

204Error in Text
Figure 8-21

error the phrase The answer is doesn't exist in the code

204Text Error in Code
cout << Tempperature Converter << endl;

Should be:

cout << Temperature Converter << endl;

205Hightlight New Line
cout << Enter conversion type. << endl;

This line of code should be highlighted because it is also new as the two below it.