Execute SNUSP/C: Difference between revisions

m
Fixed syntax highlighting.
m (Categorization now in master page)
m (Fixed syntax highlighting.)
 
(2 intermediate revisions by 2 users not shown)
Line 6:
The source code to be interpreted is specified on the command line after the keyword '''snusp''', while the keyword '''enhanced''' activates the enhanced non standard mode, and the keyword '''debug''' activates debugging mode. Normally the read instruction reads from the stdin and the write instruction writes to stdout.
 
<langsyntaxhighlight lang="c">#include <stdio.h>
#include <stdlib.h>
#include <string.h>
Line 73:
 
 
const char *in_the_space = "help! I was thrown alone in the void space!\n";
const char *trip_around_world = "wow! I always dreamed about a trip around the world!\n";
 
 
Line 275:
for(i=0; i < maxi; i++)
free(field[i].s);
}</langsyntaxhighlight>
9,482

edits