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

Objective C Programming Tutorial - 47 - Enum Program

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
15,433
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on May 25, 2010

http://thenewboston.com/forum/

Ask me all questions there as well as view source code for the tutorial

Category:

Howto & Style

Tags:

License:

Standard YouTube License

  • likes, 1 dislikes

Link to this comment:

Share to:

Top Comments

  • "I think I told you guys before I don't remember" :-)

  • its getting clearer after each tutorial

see all

All Comments (22)

Sign In or Sign Up now to post a comment!
  • What is going on 'everybodyyyyyyyyyyyyyyyyyyyyy­Y' lol

  • LOL @ 4:19

  • It's firday, firday gotta get down on firday!

  • You should create entry as an int and you avoid the warning, no need for the assignment to be of type day. You only use day in the switch statement.

  • @TheTeamBrutaly I'm not an expert, but i think what you need are powered numbers. for example:

    2.500.000.000 = 2.5*10*10*10*10*10*10*10*10*10

    you can use: float x = pow(2.5*10, 9) (means 2.5*10^9)

    or: float y = 10e+3 (Not sure about that... maybe it's not useable in obj. c)

    but make sure if you want to print that exp. numbers use NSLog(@"Whats my num x = %e", x)

  • @zatchmo1988 Dude, this not doing a init. And there are not object creation in this code. He is only using primitive types.

  • @sacredgeometry On behalf of all the idiots like me out there, thanks for answering khalil1811's question in a helpful way and at least making a reasonable recommendation. These tutorials are obviously for complete noobs like me, so yes sometimes we're going to have silly questions.

  • @thenewboston Hey Bucky - why for this mini program do you not have to 'init' and 'alloc' the "entry"? I haven't gotten to the memory management tutorial yet, but I thought I'd ask here before moving on. THX BRO!

  • @khalil1811 dude its a mac it doesn have exe

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