Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

CS 193P Calculator App

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
893 views
Google+
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jun 19, 2011

Finished implementing simple calculator app for Stanford CS193P course for Fall 2010.

More information about the class can be found here: http://www.stanford.edu/class/cs193p/cgi-bin/drupal/downloads-2010-fall

  • likes, 0 dislikes

Link to this comment:

Share to:
see all

All Comments (8)

Sign In or Sign Up now to post a comment!
  • this seemed to work for me:

    - (IBAction)plusMinusPressed { if ([self.display.text hasPrefix:@"-"]){ self.display.text = [self.display.text substringFromIndex:1]; } else { self.display.text = [NSString stringWithFormat:@"-%@", self.display.text]; }

    }

  • @DeathRageUltra

    Any chance you can tell me how to do the +/- part? or show me the code for it please?

  • @palmloyal

    @property(nonatomic) BOOL userHasEnteredADecimalPoint;

  • I am doing the 2011 course,but cannot figure out how to prevent additional decimals from being entered. Can you please help?

  • Wow...and i can barely finish a "Hello World" program!

  • Ah I finally got it finished as well :)

  • Awesome! How did you do it? I can't really grasp the objective C language yet... :-/ I only got the first part of the assignment :P

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more