Tuesday 9 August 2011

Scanate implemented in a C program for Linux and Windows

This computer program written in C is an implementation of the idea Scanate. Scanate generates random grid references on a map (eastings and northings) and its name is short for scanning coordinates. The coordinates are then used to see if remote viewing of thes location is possible. Remote viewing is a form of extra sensory perception.
For more information look up Ingo Swann.

#include<stdio.h>
#include<stdlib.h>
#include<time.h>
void seedrnd(void);

void main()
{
int easting, northing;
seedrnd();
printf("Enter the number of Eastings on your map.\n");
scanf("%i", &easting);
printf("Eastings \n\n");
printf("%d\n", (rand() % easting)+1);
printf("Enter the number of Northings on your map.\n");
scanf("%i", &northing);
printf("Northings \n\n");
printf("%d\n",(rand() %northing)+1);
}

void seedrnd(void)
{
srand((unsigned)time(NULL));
}

No comments:

Post a Comment