Open main menu

CDOT Wiki β

Changes

GPU610/TeamKappa

20 bytes added, 20:38, 18 November 2015
Problem
==== Problem ====
When using the code with visual studio, I had errors trying to compile it. It appears after some time searching online, the #include <time.h> function void srandom(unsigned seed); and random() does not come standard in all ANSI code so I tried the approach using srand(time(NULL)) and rand(); and still failed resulting returns of 0.0000. zeroes. I modified the code for the random generate number and added report time and pretty much kept the idea the same into a simpler program.
==== Code ====
13
edits