
October 24th, 2009, 01:39 PM
|
|
Contributing User
|
|
Join Date: Dec 2007
Posts: 33
Time spent in forums: 8 h 11 m 32 sec
Reputation Power: 6
|
|
|
Initialize Variable
This forum seems pretty empty, but thought I'd ask anyways. I just created a view based application, and I want to initialze a varibale upon the application launching.
So:
int r = arc4random() % 74;
The problem is, the number needs to be random every time the app is launched. I was wondering where the proper place to declare such a variable would be.
Thanks!
|