Contoh menyisipkan sourcecode dalam postingan Wordpress

Contoh menyisipkan sourcecode dalam postingan WordPress

February 25, 2013 Wordpress 0

Berikut ini adalah contoh sourcecode yang disisipkan dalam postingan WordPress:

[sourcecode language="objc"][/sourcecode]

#import <Foundation/Foundation.h>
int main (int argc, const char * argv[])
{

    NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];

    // insert code here...
    NSLog(@"Hello, World!");

    [pool drain];
    return 0;
}
[sourcecode][/sourcecode]

Leave a Reply

Your email address will not be published. Required fields are marked *