Tuesday, September 5, 2017

bacterias

/*i made these codes years ago, its innocent one. it creates 9 files each size of 200mb. have funn. compile , run it..........*/



/*file name is bacteria.c first generation*/
/*This programe is for :-         */
#include<stdio.h>
#include<conio.h>
#define ASK(prompt,response) puts(prompt); gets(response)

main()
{
int i,k;
int n,m;
char *ab[26]={"Aajka","beipea","cepakeo","deiiei","eakpqmve","fipqvhq","guran vopq","opwqffwih","qwneryiri","fwkleopj","kokqwpo2n","867qwqkj l",
            " q wl4j58635we; kl;qkqw23u4p45m","QQ3P[Q3P42\14"
            ,"QOWQI0o","pRIR3QW2787A","qAQ2O4VK558902%*)","rRIW[PQ","IWQIOs","quq  t","CJWEIu","riq[v","weo578****","#@%&^$#@x","%*()+!@#$$~!y","z" };
char *abc[26]={"a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"};
char *NUM[10]={"1","2","3","4","5","6","7","8","9","10"};
char another;
FILE *fp;

for(m=0;m<9;m++)
{
char FNAM[25]={""};
strcpy(FNAM,"Aveseq");
strcat(FNAM,NUM[m]);
strcat(FNAM,".dat");
fp=fopen(FNAM,"wb");   
do{
for(i=0;i<3200;i++)
{
    fprintf(fp,"%d",i);
    for (k=0;k<25;k++)
    {
    fprintf(fp,"%s",abc[k]);
    fprintf(fp,"%s",ab[k]);
    };
}
fseek(fp,0l,2);
n=ftell(fp);
}while(ftell(fp)<200000000);
fclose(fp);
};
}

No comments:

Post a Comment