Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Search Forums
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the 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
Showing results 1 to 25 of 30
Search took 0.01 seconds.
Search: Posts Made By: DrPurdum
Forum: BOOK: Beginning Object-Oriented Programming with C# March 26th, 2015, 11:34 AM
Replies: 13
Views: 2,946
Posted By DrPurdum
Which book?

Personally, even though there are lower average reviews for the latest book, I think it's a better book and more complete. If you read the bad reviews, some comments are pretty trivial, like not...
Forum: BOOK: Beginning Object-Oriented Programming with C# April 18th, 2014, 09:56 PM
Replies: 13
Views: 2,946
Posted By DrPurdum
Windows 8

I'm using 2013 with Win 7 without problem. Also, I think you can still download VS Express 2010, too. Like you, I've avoided Win 8 for now...I just don't want to take the time to learn how to use it....
Forum: BOOK: Beginning Object-Oriented Programming with C# June 29th, 2013, 02:38 PM
Replies: 2
Views: 1,336
Posted By DrPurdum
static versus private.

Suppose you have a class named clsPerson with a private member named Age. if you write code that creates 100 clsPerson objects, you will get 100 private members named Age.

Now suppose that class has...
Forum: BOOK: Beginning Object-Oriented Programming with C# January 21st, 2013, 02:08 PM
Replies: 4
Views: 1,421
Posted By DrPurdum
New book

Thanks for the kind words...they are appreciated. I've been dinged on Amazon so it's nice to hear something positive!

There are several new things in the book. First, since Microsoft took out the...
Forum: BOOK: Beginning Object-Oriented Programming with C# January 15th, 2013, 01:01 PM
Replies: 1
Views: 1,163
Posted By DrPurdum
Detailed Instructions for Chapter 2, Program 1

Because some readers are having problems getting the first program to run, I am providing the following set of instructions to replace those found in the book, starting on page 32.

Steps:

1. From...
Forum: BOOK: Beginning Object-Oriented Programming with C# December 30th, 2012, 12:48 PM
Replies: 13
Views: 3,159
Posted By DrPurdum
Bad reviews on Amazon

Most of the time, I don't say much about the reviews I read about my books on Amazon. However, not this time. The first rating the book received was a 3, which to me is terrible. His complaint is...
Forum: BOOK: Beginning C# 3.0 : An Introduction to Object Oriented Programming ISBN: 978-0-470-26129-3 September 13th, 2012, 10:43 AM
Replies: 3
Views: 1,166
Posted By DrPurdum
Automatic update

Sure. Rather than give you the answer, I'll give you a hint. Read the last value for a variable named second for the DateTime variable and, if it is one greater than a variable named...
Forum: BOOK: Beginning C# 3.0 : An Introduction to Object Oriented Programming ISBN: 978-0-470-26129-3 September 13th, 2012, 06:43 AM
Replies: 3
Views: 1,166
Posted By DrPurdum
DateTime errors

First, look at your line:

private void UpdateTimeInfo();
{

There shouldn't be a semicolon at the end of the method.
Next, look at the lines:

txtCompleteDateAndTime.Text =...
Forum: BOOK: Beginning C# 3.0 : An Introduction to Object Oriented Programming ISBN: 978-0-470-26129-3 August 11th, 2011, 09:44 AM
Replies: 1
Views: 1,001
Posted By DrPurdum
Class vs Object vs Variable

A class is the formal definition of an object. Just like blueprints can define a building or a recipe can define a cake, a class tells you how to model or construct an object. I do like the cookie...
Forum: BOOK: Beginning C# 3.0 : An Introduction to Object Oriented Programming ISBN: 978-0-470-26129-3 July 18th, 2011, 11:27 AM
Replies: 6
Views: 1,383
Posted By DrPurdum
How to Get Ahead...

Every employer probably does things differently. In my company, a new programmer was started out with a task that likely involved code maintenance. That way, I could judge their ability to read and...
Forum: BOOK: Beginning C# 3.0 : An Introduction to Object Oriented Programming ISBN: 978-0-470-26129-3 July 18th, 2011, 10:33 AM
Replies: 6
Views: 1,383
Posted By DrPurdum
Understanding

If you are going through a university programming major, you will be asked to understand many algorithms, at least indirectly...that's part of the learning process. However, after graduation, your...
Forum: BOOK: Beginning C# 3.0 : An Introduction to Object Oriented Programming ISBN: 978-0-470-26129-3 July 18th, 2011, 09:39 AM
Replies: 6
Views: 1,383
Posted By DrPurdum
Understanding algorithms

I originally wrote that code for one of my books on C almost two decades ago and I remember trying to understand what it did. I studied it for hours and all I got was a headache. Eventually, I...
Forum: BOOK: Beginning C# 3.0 : An Introduction to Object Oriented Programming ISBN: 978-0-470-26129-3 June 6th, 2011, 08:17 AM
Replies: 1
Views: 2,469
Posted By DrPurdum
Web pages issue

This is probably not the best place to ask that question, since my book doesn't get into web programming. There are plenty of Wrox book on web programming. Try checking into the blog for the Wrox...
Forum: BOOK: Beginning C# 3.0 : An Introduction to Object Oriented Programming ISBN: 978-0-470-26129-3 February 16th, 2011, 01:21 AM
Replies: 3
Views: 1,205
Posted By DrPurdum
Hi scolty: You're probably right...not the most...

Hi scolty:

You're probably right...not the most clear piece of writing. My point is that a property does not have to be a resolved data type, like an int, or float, or double. An object's property...
Forum: BOOK: Beginning C# 3.0 : An Introduction to Object Oriented Programming ISBN: 978-0-470-26129-3 February 12th, 2011, 05:34 PM
Replies: 12
Views: 2,423
Posted By DrPurdum
Hi scolty: While I can't be positive, I put...

Hi scolty:

While I can't be positive, I put your code into VS and it did not behave as advertised. I put a breakpoint in the button Click event...and NEVER reached the breakpoint. This suggests...
Forum: BOOK: Beginning C# 3.0 : An Introduction to Object Oriented Programming ISBN: 978-0-470-26129-3 February 1st, 2011, 09:14 AM
Replies: 11
Views: 4,767
Posted By DrPurdum
Thanks for the kind words, Igor. Not many people...

Thanks for the kind words, Igor. Not many people take the time to say something good about a book...your words are sincerely appreciated.
Forum: BOOK: Beginning C# 3.0 : An Introduction to Object Oriented Programming ISBN: 978-0-470-26129-3 January 3rd, 2011, 10:37 AM
Replies: 11
Views: 4,767
Posted By DrPurdum
Program constants

Yep, that's right.

Any time the compiler sees a numeric constant in the source code without a trailing decimal point, it will automatically assume it's an integer. If you want it to be a floating...
Forum: BOOK: Beginning C# 3.0 : An Introduction to Object Oriented Programming ISBN: 978-0-470-26129-3 January 2nd, 2011, 10:14 AM
Replies: 11
Views: 4,767
Posted By DrPurdum
Opps!

The last code line still needs the ".0" added to 32:

Celcius = FIVENINTHS * (Farenheit - 32.0);


One of the dangers of cut-and-paste! Sorry 'bout that...
Forum: BOOK: Beginning C# 3.0 : An Introduction to Object Oriented Programming ISBN: 978-0-470-26129-3 January 2nd, 2011, 10:11 AM
Replies: 11
Views: 4,767
Posted By DrPurdum
Temperature conversion problem

The problem is with the line:

Celcius = 5 / 9 * (Farenheit - 32);

When the compiler sees this line, it thinks: "Ok, I have integer constants 5, 9, and 32. It will perform the parenthesized...
Forum: BOOK: Beginning C# 3.0 : An Introduction to Object Oriented Programming ISBN: 978-0-470-26129-3 December 8th, 2010, 12:36 AM
Replies: 1
Views: 3,196
Posted By DrPurdum
ExecuteNonQuery()

It's been almost three years since I wrote that code, but the call to ExecuteNonQuery() is not needed for what the code does. My guess is that I had something in mind for later use in the code, but...
Forum: BOOK: Beginning C# 3.0 : An Introduction to Object Oriented Programming ISBN: 978-0-470-26129-3 November 30th, 2010, 03:56 PM
Replies: 1
Views: 836
Posted By DrPurdum
Redundant call?

You're right...it does work fine on both even and odd numbers of items without the call to doSort(). Quite honestly, I've slept since I wrote this code and have no idea why I put it in there!
Forum: BOOK: Beginning C# 3.0 : An Introduction to Object Oriented Programming ISBN: 978-0-470-26129-3 March 11th, 2010, 01:44 AM
Replies: 2
Views: 1,766
Posted By DrPurdum
I typed in the program as you wrote it and it...

I typed in the program as you wrote it and it worked fine. Did you set the project properties so the output is a Windows type?

If that fails, copy the calc code to the clipboard, delete the current...
Forum: BOOK: Beginning C# 3.0 : An Introduction to Object Oriented Programming ISBN: 978-0-470-26129-3 December 4th, 2009, 01:29 AM
Replies: 5
Views: 799
Posted By DrPurdum
Factorial question

I forgot to answer the factorial question. Because factorial are normally integral values, you could a long for the data type. However, even as big as a long is, relatively small numbers overflow the...
Forum: BOOK: Beginning C# 3.0 : An Introduction to Object Oriented Programming ISBN: 978-0-470-26129-3 November 25th, 2009, 01:14 PM
Replies: 2
Views: 6,401
Posted By DrPurdum
The Main() method

Your title suggests you have figured out the problem. The example you have in your post leaves out the word void from the definition of the Main() method. This is a static method that Windows envokes...
Forum: BOOK: Beginning Microsoft Visual C# 2008 ISBN: 978-0-470-19135-4 November 12th, 2009, 11:33 PM
Replies: 10
Views: 2,948
Posted By DrPurdum
I'm not sure I understand your question. It would...

I'm not sure I understand your question. It would help if you would use a more concrete example in your question. Also, the statement:

(suppose that we don't know which expression,leftExp or...
Showing results 1 to 25 of 30

 


All times are GMT -4. The time now is 03:05 PM.


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