File: programming/cocoa/MacScare-Source.zip/MacScare-Source/memorystreamtest.c


//
//  memorystreamtest.c
//  CocoaGlk
//
//  Created by Andrew Hunter on Wed Jun 11 2003.
//  Copyright (c) 2003 Andrew Hunter. All rights reserved.
//
 
#include "glk.h"
#include <stdio.h>
"Echoing this to memory...\n\n""Yet another boring room\n""Hey, at least it's bouncy\n\n""Your diary lurks on the floor near that worrying stain. Guess it's time to make another log entry... Let's see, \"""\", you write (holding your pen in your mouth), marvelling at your own literary genius.\n""\nOK, we're done... ""%u bytes written\n\n""And those bytes were:\n""\n""Bye\n\n");
}

This code uses the PclZip Zip File reading code, which is subject to the GNU LGPL. It also uses the GeSHi syntax highlighter, subject to the GPL. Ask if you want this for your own web site, it's free.