You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
301 B
13 lines
301 B
5 years ago
|
#import <Foundation/Foundation.h>
|
||
|
#import "foo.h"
|
||
|
|
||
|
int main(int argc, char **argv)
|
||
|
{
|
||
|
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
|
||
|
Foo *theFoo = [[Foo alloc] init];
|
||
|
theFoo.age = [NSNumber numberWithInt:argc];
|
||
|
NSLog(@"%d\n",[theFoo.age intValue]);
|
||
|
[pool release];
|
||
|
return 0;
|
||
|
}
|