January 29, 2010

C Examples Zip

Get it here.

January 22, 2010

Introductions

This is the blog for Little Computers class Spring 2010 at ITP. On the right you’ll find the syllabus, resources, assignments, and offices hours.

#import <Foundation/Foundation.h>
 
@interface HelloWorld : NSObject
{
}
- (void)talk;
@end
 
@implementation HelloWorld
 
- (void)talk
{
  NSLog(@"Hello world!");
}
 
@end
 
 
int main (int argc, const char * argv[]) {
  NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
 
  HelloWorld *instance = [[HelloWorld alloc] init];
  [instance talk];
 
  [pool drain];
  return 0;
}