Topic: C# and C++

Beginning Visual C# 2012 Programming (1118314417) cover image

Beginning Visual C# 2012 Programming

Karli Watson, Jacob Vibe Hammer, Jon D. Reid, Morgan Skinner, Daniel Kemper, Christian Nagel
ISBN: 978-1-118-31441-8
Paperback
912 pages
December 2012
Other Available Formats: E-book
If you are an instructor, you may request an evaluation copy for this title.
Paperback Version: US $44.99 Add to Cart

Do you think you've discovered an error in this book? Please check the list of errata below to see if we've already addressed the error. If not, please submit the error via our Errata Form. We will attempt to verify your error; if you're right, we will post a correction below.

ChapterPageDetailsDatePrint Run
3 46 Text Correction
CURRENTLY READS:
The *, %, and / operators have equal highest precedence here, followed by + and finally +=. The precedence in the exercise can be illustrated using parentheses as follows:
resultVar += (var1 * var2) + (var3 % (var4 / var5));
Or:
resultVar += (var * var2) + ((var3 % var4) / var5));
The result is the same in both cases
SHOULD READ:
By considering operator precedence, list the steps involved in the computation of the following expression:
resultVar += var1 * var2 + var3 % var4 / var5;
10/02/14
173 Text Correction
5th Paragraph:
Currently reads:
"otherwise, you need to use the fully qualified name of this object,
System.Windows.Forms.Button"
Should read:
"otherwise, you need to use the fully qualified name of this object,
System.Windows.Controls.Button"
10/02/14
185 Error in Code
CURRENTLY READS:
 class MyClass
{
    MyClass()
   {
      // Destructor body.
   }
}

SHOULD READ:
class MyClass
{
   ~MyClass()
   {
      // Destructor body.
   }
}
02/19/2013
13 327 Text correction: Error in code under Expanding and Using CardLib
namespace Ch13CardLib
{
public event EventHandler LastCardDrawn;


Should read:

namespace Ch13CardLib
{
public class Deck : ICloneable
{
public event EventHandler LastCardDrawn;
4/15/14
16 443 Text correction: Error in code
The first line of code under step 7, public CardControl(Card card)
should read:
public CardControl(CardLib.Card card)
2/11/14
383 Error in Code
In the code after the paragraph that starts ?The XAML in this example??:

Currently reads:
<Button Content="Hello World"
        HorizontalAlignment="Left"
        Margin="220,151,0,0"
                    VerticalAlignment="Top" Width="75"/>


Should read:
<Button HorizontalAlignment="Left"
        Margin="220,151,0,0"
        VerticalAlignment="Top"
        Width="75">Hello World
10/9/2013
17 481 Text correction: Typo in exercise
In step 5, "Add a new enemy to the project..."
should read "Add a new enum to the project..."
2/11/14
22 650 Text correction: Error in code
Under step 4, the 4th line of code, document.LoadbooksFile); should read:
document.Load(booksFile);
2/11/14
780 Error in Code
Chapter 4 Solutions Exercise 2.

CURRENTLY READS:
if ((var1 > 10) && (var2 > 10))
{
numdersOK = true;
}

SHOULD READ:
if ((var1 > 10) ^ (var2 > 10))
{
numdersOK = true;
}
02/19/2013
779 Text Correction
CURRENTLY READS:
N/A
SHOULD READ:
The *, %, and / operators have equal highest precedence here, followed by + and finally +=. The precedence in the exercise can be illustrated using parentheses as follows:
resultVar += (var1 * var2) + (var3 % (var4 / var5));
10/02/14