Wrox Programmer Forums
|
BOOK: Stephens' C# Programming with Visual Studio 2010 24-Hour Trainer
This is the forum to discuss the Wrox book Stephens' C# Programming with Visual Studio 2010 24-Hour Trainer by Rod Stephens; ISBN: 9780470596906
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Stephens' C# Programming with Visual Studio 2010 24-Hour Trainer 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 July 23rd, 2012, 10:46 AM
Registered User
 
Join Date: Jul 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 25 E1 error?

I believe there is an error in the Form calculateRealOnlyButton_Click

when you read the Complex number b you read the Real portion from the realOnlyTextBox and not the real2TextBox.

Since for the test they are both 3 in the example it works fine but when go to chapter 26 and Copy your chapter 25 E1 it does cause some confusion.
 
Old July 23rd, 2012, 10:56 AM
Registered User
 
Join Date: Jul 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Console Writeline

I may have missed this in my rush to get into the meat of the book but when some of your examples used Console.WriteLine() it does not open a console window. After some searching on the internet I found that a way of doing this by changing to a Console program.

Not something that I would have thought would allow window forms so would not have thought to try.
 
Old July 23rd, 2012, 05:18 PM
Rod Stephens's Avatar
Wrox Author
 
Join Date: Jan 2006
Posts: 647
Thanks: 2
Thanked 96 Times in 95 Posts
Default

Quote:
I believe there is an error in the Form calculateRealOnlyButton_Click
Sorry about that. I'm sure you're right and it sounds like you've diagnosed the problem. I'm sure it was a copy-and-paste error.

Quote:
Console Writeline
There are ways to make console information visible to the user but mostly this is to display debugging information to you while you are running in to Visual Studio. By default in a Windows Forms application things that you write into the console window appear in the Output window.

If you can't find the Output window, open the Debug menu's Windows submenu and pick Output.
__________________
Rod

Rod Stephens, Microsoft MVP

Essential Algorithms: A Practical Approach to Computer Algorithms

(Please post reviews at Amazon or wherever you shop!)





Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 25 Page 874 Frodo BOOK: Beginning Visual C# 2010 1 January 8th, 2012 04:32 PM
Chapter 25 Code Pankajh_mishra BOOK: Professional C# 2005 with .NET 3.0 ISBN: 978-0-470-12472-7 0 March 18th, 2010 02:44 AM
Missing Chapter 25 cir306 BOOK: Professional Microsoft SQL Server 2008 Programming 0 September 10th, 2009 11:38 PM
C# 3rd edition -chapter 25 fjgnena BOOK: Professional C#, 2nd and 3rd Editions 0 September 9th, 2004 03:47 PM





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