Open main menu

CDOT Wiki β

Changes

GPU610/TeamKappa

6 bytes added, 19:17, 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 kept idea the same into a simpler program.
==== Code ====
13
edits