All pastes #418774 Raw Edit

Stuff

public text v1 · immutable
#418774 ·published 2007-03-31 20:40 UTC
rendered paste body
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#define a 48
#define b 122

int main(int argc, char *argv[])
{
 srand ( time(NULL) );
  int x;
  long i = 0;
  long f = 0;
  FILE* vbmaster = NULL;
  vbmaster = fopen("output.txt","w");
  while(i <= 580)
  {
      while(f <= 77)
      {
        printf("%c", ((x=a+((float)rand()*(b-a)/RAND_MAX))));  
        fprintf(vbmaster,"%c", ((x=a+((float)rand()*(b-a)/RAND_MAX))));
        f++;
      }
      printf("%c\n", ((x=a+((float)rand()*(b-a)/RAND_MAX)))); 
      fprintf(vbmaster,"%c\n", ((x=a+((float)rand()*(b-a)/RAND_MAX))));  
      f = 0;    
      i++;
  }    
  system("PAUSE");	
  return 0;
}