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

i just made a cute 'hello world' app

Name: Anonymous 2017-07-29 17:56

https://pastebin.com/qprgVAmc
(couldn't post it here)

Name: Anonymous 2017-08-03 10:10

>>26
idented your code, FrozenAnus-senpai

#include"void2/boilerpl
at e.h"
# includ
e " void2/
t y p edefs.
h " #in c lude" void2/ti
m in g . h"/ /t sc()#inc
l u de "v o id2/ra nd o m.h"//ts
# i nc l ude"vo id2 /macro.h"
/ / t#i n clude<std lib. h>#include
< stdi o. h >#defineR N AME _MAX253#
d ef i ne is vo wel(x)((x == 'a')||(x=='e'
) || ( x== 'i' ) ||(x=='o') ||( x=='u'))#def
in er nd num 1() ( {u64timesee d=t s c();tim
e se ed =rhas h(( u 8*)&timeseed,8);timeseed;})
#d e f inerndco n()c ons[ rndnum1()%2 1]#defi nerndvo
w( ) vo w s[ rndnum 1()%5]STDS T ARTsize_tna melen ,i=0;con
st c 8 alp[]="abcdefghijklmno pqrstuvwxyz" ;//2 6constc8co
n s [ ] ="bcdfghjklmnpqrstvwxyz";//21constc 8vo ws[]= "ae
io u " ; //5if(argc>1){namelen =(size_t)strtoull(ar gv[1],
NULL, 1 0 ) ;if(namelen >RNAME_MAX| |namelen<1)g otoerr n a m
elen ;} e l se{errnamelen:;puts("Syn tax:namegenlength length:fr
om0t o" s tr ingify(RNAME_MAX));e xit(1);};c8res[RN AM E_M AX+1]=
{0}; w hil e(i<na mel en){size_ tr emain=(namele n-i );bo olla
stvo w= 0 ; if(i>1){l ast vow=isv o wel(res[i-1]);}if (remain==
1){re s [ i++ ]=last vo w?rndco n():rndvow();continue;}if(
remai n= =2){ res[i ++]= lastvo w?r ndcon(): r nd vow( );
res[i++ ]= last vow? rn dvow () : rndcon();continue;
}if(rema i n= =3 ){ / / vcv /c v cres[i++]=lastvow?r
ndcon():rn dv ow ();res [i + +]=lastvow?rndvow():rndco
n();res[ i++]=lastvow?rndco n ():rndvow();continue;}//vc,cv
,vcc,cvc,v cv,vvc,ccvswitch( tsc()&7){cas e0://vcr es[i++]
=rndvow(); r es[i++]= rndcon(); break;case1:/
/cvres[i++ ] =rndcon() ;res[i++]=r ndvow ();brea
k;case2://vcc re s[i++] = rndvow ();res[i++]=
rndcon() ;r es[ i + + ]= rndc on();b
reak;case3 : // ccv res [i++]=rndco
n(); r es[i ++] =rndcon ();
res[i ++]=r nd vow();break;
case4 ://v c vres[ i++]=rndvow(
);res[i ++] =rn dcon();res[i
++]=rndvow ( ) ;break;case5:
//vvcr es[i ++]=rndvow();r
es[i ++ ]=r n dvow();res[i+
+]=rndcon() ; break;case6://
cvc de fault ://cvcres[i ++]=r
ndcon();res[i+ +]= r ndvow();res[i++]=rn
dcon();}}puts(re s);STDEND#inc lude"v
oid2/boilerplate.h"# i nclude"void2/typedefs.h"
#inc lude"void2/timing. h"//tsc()#include"vo id2/ra
ndom.h"//ts#include"void2/m acr o.h"//t#include<stdlib.h>#incl
ude<stdio.h>#defineRNAME_MAX253#def ineisvowel(x)((x=='a')||(x
=='e' ) ||(x=='i')|| ( x=='o')||(x=='u'))#defi
nerndnum1()({u64ti meseed= ts c ();times eed=rhash((u8*)&timesee
d,8);timeseed;})#d e f i nerndcon()cons[rndnum1(
)%21]#defi nerndvow () v o ws[rndnum1()%5]STDSTART
size_tnamelen,i=0;c o n s t c8 alp[]="ab cdefghijklmno
pqrstuvwxyz"; //26 c o n s t c8con s[] ="bcdfghjklmnpq
rstvwxyz";//21 c o nstc 8 v o ws []= "aeiou";//5if(argc>1
){namelen=(size_t) strtoul l(argv[1],NUL L,10 );if(namelen>R N
AME_MAX||namelen<1) g otoerrnamelen;}els e{errna me len:;puts
("Sy ntax:n ame genlengthlength :from0to"s tr ingif
y( RN AME_MAX ) ) ; exit(1);};c 8res
[ RNAME_M AX+1]={0};while(i<namelen){siz e_tr
e main=( namelen-i);boollastvow=0; if(i > 1 ) { l
as tvow=i svowel(res[i-1]);}if(rema in==1){ r e s[i++
]= lastvow ?rndcon():rndvow();continue;}if(rem a in==2
){ res[i ++]=lastvow?rndcon():rndvow() ;res [ i++] =
las tvow? rndvow():rndcon();continue;}if(re ma in==3){/
/ v cv/cvc res[i++]=lastvow?rndcon():rndvow ( );res[i
++]= lastvo w?rndvow():rndcon();res[i++]=l astvow?r
ndcon ( ):rndvo w();contin u e;}//vc,cv, vcc , cvc,vcv,vv
c,ccvs witch(ts c()&7){ca s e0: //vcres[i++] =rndvow();
res[i++ ] =rndcon() ;br eak ;case1://cvres[ i ++]=rndcon(
);r es[i + +]= rndvow();br eak ; case2://vccre s [i++]=rndvow(
);res[i++] = rnd c on (); r e s [i+ + ]= rndc on();break;case
3://ccvres [ i++] =r ndc o n ( );re s [i+ + ]=rndcon();res[i+
+]= rndvow ( );break;case4://vcvres[i++]=rndv ow();res[i++]=rnd
con();res[i+ + ]=rndvow();break;case5://vvcre s[i++]=rndvow();res
[i++]=rndvow() ; res [i+ +] =rndcon();break;case
6://cvcdefault:/ / c vcres[i++]=rndcon();r
es[i++]=rndvow(); re s [ i++]=rndcon();}}puts(re
s);STDEND#include"v o i d 2/boilerplate.h"#include
"v oid2/typedefs.h"#i n c lude"void2/timing.h"//tsc()
# include"void2/random. h " // ts#include"void2/macro.h
"//t#include<stdlib.h>#i n clude< stdio.h>#defineRNAME_MAX253#d
efineisvowel(x)((x=='a')|| ( x== 'e' )||(x=='i')||(x=='o')||(x=='u'))
#definerndnum1()({u64timese ed=tsc();ti meseed=rhash( (u8*)&timeseed,8);timeseed;})#defi
nerndcon()cons[rnd num1()%21] #def iner nd vow( )vow s[r ndnum1()%5]STDSTARTsize_tnamelen,i=
0;constc8alp[]="abcdefghijklmn opq rstu vwxy z"; //26constc8 cons[]="bcdfgh jklm npqr st vwxyz ";/
/21constc8vows[]="aeiou";//5if(ar gc>1){ nam elen=(size_t)strtoull(argv[1],NULL,10);
if(namelen> RNAME_MAX||namelen<1)go toe r rnamelen;}else{errnamelen:;puts("Syntax :
namegenlengthlength:from0to"stringify( RNA M E_MAX));exit(1);};c8res[RNAME_MAX+1] ={0};

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