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.
15 lines
372 B
15 lines
372 B
2 years ago
|
#import <Foundation/Foundation.h>
|
||
|
#import "foo.h"
|
||
|
#include <iostream>
|
||
|
|
||
|
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]);
|
||
|
std::cout << [theFoo.age intValue] << std::endl;
|
||
|
[pool release];
|
||
|
return 0;
|
||
|
}
|