Q

Mac OS X The Complete Reference: code fix

I recently received your terrific book on Mac OS X The Complete Reference. I am trying to learn Object C++ for Cocoa and have managed to get the Calculator running but in Java. The Objective-C version comes up with 11 errors when I try to build it, and the code doesn't come up as @implementation Calculator -(void) divide: (id) sender (id) numerator; etc etc but -(IBAction) divide: (id) sender { } @end I wonder if it would be possible...

to get a copy of the Calculator.h and the Calculator.m file as text if you have them or where I could obtain an example of the correct build of this application in Objective-C. Thank you for your book. There was an error on page 710. The correct code is at www.philmontmill.com in the Mac OS X section.

This was first published in August 2001

Dig deeper on XML and XML schema

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchSoftwareQuality

SearchCloudApplications

SearchAWS

TheServerSide

SearchWinDevelopment

Close