Amazon.com Widgets 10-4 Simple way
Welcome, Guest. Please login or register.
Did you miss your activation email?
November 01, 2014, 03:11:38 AM
Home Help Search chat Login Register 
News: Read this please.The Great Kangaroo Escape Looking for reviews of the 4th ed on Amazon!   Twitter:  @skochan
                     

+ Official Forum for Programming in Objective-C (the iPhone Programming Language) - Stephen Kochan
|-+ Old Stuff
| |-+ Answers to Exercises
| | |-+ Chapter 10
| | | |-+ 10-4 Simple way
Pages: [1] Go Down
Print
Author Topic: 10-4 Simple way (Read 1354 times)
tadej5553
Full Member
***
Posts: 145


Email




on: May 16, 2010, 01:51:40 AM

main.m
Code: (Objective-C)
#import <Foundation/Foundation.h>
 
int main (int argc, char *argv[])
{   
    NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
   
    typedef enum {Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday} Day;
   
    Day today = Tuesday;

    [pool drain];
    return 0;
}
Logged
Pages: [1] Go Up
Print
Jump to:



Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Entire forum contents (c) 2009 classroomM.com. All rights reserved.