O'Reilly Forums: Did You Find An Error In The Book? - O'Reilly Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Did You Find An Error In The Book? If so, please read this!

#1 User is offline   AndrewStellman 

  • Andrew Stellman
  • PipPipPipPipPipPipPipPipPipPipPip
  • Group: O'Reilly Author
  • Posts: 623
  • Joined: 08-October 08
  • Gender:Male
  • Location:Brooklyn, NY
  • Interests:Author of: "Head First C#", "Beautiful Teams", "Head First PMP", "Applied Software Project Management"

Posted 04 September 2010 - 09:59 AM

We did our best to weed out all the typos, language problems, and technical errors before we went to press, but sometimes things slip through -- especially in a book as large and complex as Head First C#. If you found an error, please submit it as errata. I personally go through and verify every error. This way, we'll correct it immediately in the PDF and Safari eBook versions, and it'll get fixed in the next printing.

Errata page: http://oreilly.com/catalog/errata.csp?isbn=0636920000679

(That page also lists all of the reported errata, so there's no need to make a forum post about it as well -- unless you you've got a question or want to start a discussion about it, of course!)

Thanks, and good luck with your C# learning!
Andrew Stellman
Author, Head First C#
Building Better Software -- http://www.stellman-greene.com
0

#2 User is offline   Daniel.Kullik 

  • New Member
  • Pip
  • Group: Members
  • Posts: 3
  • Joined: 11-June 10

  Posted 18 January 2011 - 10:16 AM

Hello,

Out of curiosity: Do you know how long it takes the guys over at Safari Books Online to put the corrections for confirmed errata into the online book? Do they have like 6 months iterations or something like that?


Thanks and kind regards
Daniel
0

#3 User is offline   coder1_32112 

  • New Member
  • Pip
  • Group: Members
  • Posts: 1
  • Joined: 22-December 11

Posted 22 December 2011 - 05:40 AM

You missed several omissions on page 88 in the second paragraph (Method names).
0

#4 User is offline   Mike684 

  • New Member
  • Pip
  • Group: Members
  • Posts: 2
  • Joined: 29-October 12

Posted 29 October 2012 - 05:30 AM

Not really an error, but you might want to update it anyway:

page 161 (timer control for the typing game):

//Add a random key to the ListBox
listBox1.Items.Add((Keys)random.Next(65, 91));

use 91 instead of 90. This will include the letter "z"
0

#5 User is offline   eaglecoug 

  • New Member
  • Pip
  • Group: Members
  • Posts: 4
  • Joined: 15-January 13

Posted 18 January 2013 - 06:43 AM

I am reading the 2nd edition. The farmer program starting on page 204 does not work. I have written the code exactly how the book has it. But when I run the program there are no errors but nothing happens when I click the button, i.e. the Console.WriteLine does not work. I am using visual studios 2012 express so don't know if that is a factor.
0

#6 User is offline   Frederik T 

  • New Member
  • Pip
  • Group: Members
  • Posts: 1
  • Joined: 02-February 13

Posted 02 February 2013 - 02:10 PM

Hello Head First!

i came to a big problem... maybe it's just me?

i am on side 160 in "head first c#" and i should make a game.

i made the code i wished me to make. buut. when i start the "game" the game aint giving any points or anything. but i wrote a code.. here it is.. help please..
 private void Form1_KeyDown(object sender, KeyEventArgs e)
        {
            // If the user pressed a key that's in the ListBox, remove it
            // and then make the game a little faster
            if (listBox1.Items.Contains(e.KeyCode))
            {
                listBox1.Items.Remove(e.KeyCode);
                listBox1.Refresh();
                if (timer1.Interval > 400)
                    timer1.Interval -= 10;
                if (timer1.Interval > 250)
                    timer1.Interval -= 7;
                if (timer1.Interval > 100)
                    timer1.Interval -= 2;
                DifficultyProgressbar.Value = 800 - timer1.Interval;
                // The user pressed a correct key, so update the Stats object
                // by calling its Update() method with the argument true
                stats.Update(true);
            }
            else
            {
                // The user pressed an incorrect key, so update the Stats object
                // by calling its Update() method with the argument false
                stats.Update(false);
            }
            // Update the labels on the StatusStrip
            Correctlabel.Text = "Correct: " + stats.Correct;
            Missedlabel.Text = "Missed: " + stats.Missed;
            Totallabel.Text = "Total: " + stats.Total;
            Accuracylabel.Text = "Accuracy: " + stats.Accuracy + "%";


        }
    }
}


it makes the keys in the box.. but when i press the key. nothing happens and i loose what is wrong?

thanks
0

#7 User is offline   Toxic65 

  • New Member
  • Pip
  • Group: Members
  • Posts: 1
  • Joined: 05-April 13

Posted 05 April 2013 - 11:52 AM

Yes I'm having the same problem. I have downloaded the code from the website that works ok. The problem is that key press is not recognised so the code for Form1_KeyDown is never accessed. running debug with breakpoints proves this.

I've not figured out why this is and comparing the two has not shown any glaring omissions.

Any further thoughts on this would be appriciated.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users