Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Please post a program written in C

Name: Anonymous 2015-02-22 22:53

Hello /prog/, how are you today?

Please post a program written in C, so that we all may compile it on our computers and share in the enjoyment of your program.

Name: Anonymous 2015-02-23 14:06

>>1
//A program in C
#include "void.h" //gist.github.com/FrozenVoid/87e6ad6212ac9ce496e0#file-void-h"
STDSTART
#define welcometoC() sm defvars((c1p,species,malloc(256)),(c1,yes));\
p("What is your species?",(scan(species),"\n"),species,"greetings! We are the primitive C-aveman"," from the planet #define.\n","Open your parens and"," surrender ",species," REPLs.\n","Would ",species, " like to know more?[y/n]");\
iftcond(((scan(yes),yes=='y'||yes=='Y'),(p(yes,"..es? ",species,("techno""magical")," expressiveness will be added to our own.\n",species," culture will adapt to service us.")),((p("Resistance is ", (range(70,29)),"% futile."))))); em

welcometoC();;

STDEND

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List