Objective C Programming Tutorial - 47 - Enum Program
Top Comments
All Comments (22)
-
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
"I think I told you guys before I don't remember" :-)
zero0xxx 1 year ago 13
its getting clearer after each tutorial
EcoDimension 1 year ago 11