Skip to main content

Ivor Horton's Beginning Visual C++ 2005

Ivor Horton's Beginning Visual C++ 2005

Ivor Horton

ISBN: 978-0-471-96503-9

Feb 2006

1182 pages

Select type: E-Book

Product not available for purchase


  • Popular author Ivor Horton uses his trademark approachable writing style to provide novice programmers with the basic tools as they learn Visual C++ 2005
  • Readers will learn how to program in C++ using Visual C++ 2005-without any previous knowledge of C++
  • More than 35 percent new and updated material covers the new release of Visual C++, and exercises and solutions help readers along the way
  • Demonstrates the significant new features of Visual C++ 2005, providing improved flexibility in developing Microsoft applications in C++

Related Resources


View Instructor Companion Site

Contact your Rep for all inquiries


Chapter 1: Programming with Visual C++ 2005.

Chapter 2: Data, Variables, and Calculations.

Chapter 3: Decisions and Loops.

Chapter 4: Arrays, Strings, and Pointers.

Chapter 5: Introducing Structure into Your Programs.

Chapter 6: More about Program Structure.

Chapter 7: Defining Your Own Data Types.

Chapter 8: More on Classes.

Chapter 9: Class Inheritance and Virtual Functions.

Chapter 10: Debugging Techniques.

Chapter 11: Windows Programming Concepts.

Chapter 12: Windows Programming with the Microsoft Foundation Classes.

Chapter 13: Working with Menus and Toolbars.

Chapter 14: Drawing in a Window.

Chapter 15: Creating the Document and Improving the View.

Chapter 16: Working with Dialogs and Controls.

Chapter 17: Storing and Printing Documents.

Chapter 18: Writing Your Own DLLs.

Chapter 19: Connecting to Data Sources.

Chapter 20: Updating Data Sources.

Chapter 21: Applications Using Windows Forms.

Chapter 22: Accessing Data Sources in a Windows Forms Application.

Appendix A: C++ Keywords.

Appendix B: ASCII Codes.


Download Code
Updated 6/25/08 - A code file from Chapter 5 has been corrected.
Code Downloads
Download Code
Updated 6/25/08 - A code file from Chapter 5 has been corrected.
Code Downloads
Download Exercise Answers
Download Correct Figure (page 92)
Figure 2-12, in page 92, shows a piece of a program with other variables than those described in the text an the end of page 91
Corrected Chapter 5 Code File
6/25 - This is a corrected code file (Ex5_10.cpp) for Chapter 5; the new version is also in the complete code zip file above.
ChapterPageDetailsDatePrint Run
2Error in Solution (Soln2_6.cpp),The enum in Soln2_6.cpp should be: enum class Month{January=1, February, March, April, May, June, July, August, September, October, November, December}; 05/15/07
14Typo,Paragraph 2, line 4 (or sentence 3), near the end reads:
the solution folder has the came name as the project.

should be:
the solution folder has the same name as the project.
118Replace Sentence,The second sentence on the page should be replaced by the following:

In the left pane of the Options dialog that is displayed, extend the
Text Editor item by clicking the +, do the same for the C/C++ item
and select General. If you then check the Line numbers box in the
right pane and click the OK button, line numbers will be displayed.
21Error in Text,Second line from the bottom:
click Code in the right pane, and C++ File(.cpp) in the right pane.

should read:
click Code in the left pane, and C++ File(.cpp) in the left pane.


Sixth line from the bottom:
on the right side of the dialog box

should be:
on the left side of the dialog box
46Error in Text,Paragraph 2, line 6:

should be:
49Error in Text,This occurs in the first sentence of the first paragraph below the first gray-highlighted code in the Whitespace section:

Original Text: There must be at least one whitespace character (usually a space) between int and fruit for the compiler to be able to distinguish them but if you add more whitespace characters they will be ignore.


should be:

62Error in Example,enum State : bool { On = true, Off};

should be:
enum State : bool {On=true, Off=false};

The original fragment used to compile but the compiler was ultimately modified to enforce the rule that enumerators in an enum of type bool must all be explicitly initialized. C++/CLI enums of other explicit types do not need to be initialized explicitly, although they can be.

The section referred to looks as though it got left in by mistake; There is a section on enums for C++/CLI later in the chapter. It still doesn't say that bool enums must have explicit values, but it should.
77, 84, ...Error in Text,The bitwise OR should be | rather than the > .

Also, the >> operator appearing below the line containing && should be the || operator.
82, 84, 85Errors in Code,Every occurent of the bitwise OR operator, which is described as '<', should be '|'.04/08/2006
84-85Incorrect Symbol,The section on the Bitwise OR uses a greater-than symbol:

It should use:
the Bitwise OR symbol |.
86Error in Code,code toward the bottom of the page:
unsigned int number = 16387U

should be:
unsigned short number = 16387U
90Typo,The third line in the third paragraph is:
if you use duplicate names makes, it very easy to hide variables
should be:
if you use duplicate names, it makes it very easy to hide variables
91-92Error in Figure,On page 91 the text references Figure 2-12; and th
  • Ivor Horton is a leading author of computer programming language tutorials; his Beginning Visual C++ 6 has sold more than 80,000 copies in both the Wiley and Wrox editions.
  • The author is known for his unique tutorial style, readily accessible to both novice and experienced programmers.
  • The book is a comprehensive introduction to BOTH the Standard C++ language and to Visual C++.NET; no previousl programming experience is required.
  • The book provides exercises and solutions, adding to its appeal to the college and training markets.
  • This edition fully covers the most recent Whidbey release of Visual C++.NET.