Quickies

[categories] [index] [all (527)] [latest]

Cocoa Foundation
  1. #import <Foundation/Foundation.h>
    
    // gcc -g -Wall -framework Foundation -o nslog nslog.m
    
    int main (void) {
        NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
        NSLog(@"Hello");
        [pool release];
        return (0);
    }