Wrox Programmer Forums
|
BOOK: Ivor Horton's Beginning Visual C++ 2008 ISBN: 978-0-470-22590-5
This is the forum to discuss the Wrox book Ivor Horton's Beginning Visual C++ 2008 by Ivor Horton; ISBN: 9780470225905
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Ivor Horton's Beginning Visual C++ 2008 ISBN: 978-0-470-22590-5 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 3rd, 2010, 12:48 PM
Registered User
 
Join Date: Mar 2010
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
Default Missing Code in book

I have just started to learn C++. I am using this book and when I go to the examples in Chapter 1 I follow the instruction to enter the code and build it.

I then run the program and I get a flash of the command window with hello world but in figure 1-12 it shows that there should be at least one more line of code to stop the program so I can see "press any key to continue" output and then the program should wait for a key press to continue. but it does not happen. I notice in the second example the same line should be present but it is not and the program immediately closes after displaying the text.

What lines of code are missing here?

I am beginning to believe this book was rushed to be published and simple things like this are totally overlooked. I am so far very disappointed in this book and at this point I wish I could get that $50.00 I paid for this piece of junk.

Why is there no discussion as to exactly what "nt _tmain(int argc, _TCHAR* argv[])" means other than it is a start of a program. I am already unsure here as I do not know what the values mean and the book is so convoluted

I have downloaded and checked the code and there is none for chapter 1.
I have checked the errata and there is no mention of the missing code.

Can someone help me with this?
 
Old March 4th, 2010, 11:22 AM
Registered User
 
Join Date: Mar 2010
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Found problem please close
 
Old March 6th, 2010, 06:46 PM
Authorized User
 
Join Date: Jan 2010
Posts: 19
Thanks: 0
Thanked 2 Times in 2 Posts
Default

When you finish entering the code just press 'Ctrl + F5 key. That will debug your program and if it comes out with no errors then press 'Ctrl + f5 keys. Your program should run with the 'Press any key to continue.'
The Following User Says Thank You to earlmw For This Useful Post:
dspearing (March 6th, 2010)
 
Old March 6th, 2010, 06:49 PM
Authorized User
 
Join Date: Jan 2010
Posts: 19
Thanks: 0
Thanked 2 Times in 2 Posts
Default

last part should be press Ctrl + F5





Similar Threads
Thread Thread Starter Forum Replies Last Post
Book Binding Problem, or Something Else. Chapter 1 Is Missing! Dzejms BOOK: ASP.NET MVC Website Programming Problem Design Solution ISBN: 9780470410950 2 January 22nd, 2010 10:43 AM
Book missing code & getting errors when I run it Rachel BOOK: Professional ASP.NET 3.5 : in C# and VB ISBN: 978-0-470-18757-9 1 March 18th, 2009 10:14 AM
spring 2 book missing major source code pschiff BOOK: Beginning Spring Framework 2 ISBN: 978-0-470-10161-2 0 June 26th, 2008 03:58 PM
Asp.Net Server Controls Book missing vkarlo Wrox Book Feedback 2 August 15th, 2003 10:36 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.