Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old July 23rd, 2012, 10:46 AM
Registered User
Points: 8, Level: 1
Points: 8, Level: 1 Points: 8, Level: 1 Points: 8, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
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.
  #2 (permalink)  
Old July 23rd, 2012, 10:56 AM
Registered User
Points: 8, Level: 1
Points: 8, Level: 1 Points: 8, Level: 1 Points: 8, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
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.
  #3 (permalink)  
Old July 23rd, 2012, 05:18 PM
Rod Stephens's Avatar
Wrox Author
Points: 3,166, Level: 23
Points: 3,166, Level: 23 Points: 3,166, Level: 23 Points: 3,166, Level: 23
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2006
Location: , , .
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!)
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 09:44 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.