samples; coursework: Fixed random seeding with time not working
authorJerome St-Louis <jerome@ecere.com>
Thu, 7 Aug 2014 07:44:48 +0000 (03:44 -0400)
committerJerome St-Louis <jerome@ecere.com>
Thu, 7 Aug 2014 07:44:48 +0000 (03:44 -0400)
commit46317d80156bca68c6986c01123c144a77253da8
tree3a52273c1b5c3e16884de1c81c815bf4269dde2e
parentf48b8fe4e3aa9c4a70a6fb9f61ea524121f84f0b
samples; coursework: Fixed random seeding with time not working
- double value would overflow DWORD range on long Windows uptime, and always on Unix as GetTime() returns time since the epoch
12 files changed:
installer/coursework/Chapter 6 - Classes, Methods and Instances/Lab6/lab6.ec
samples/db/MedDB/med.ec
samples/eC/neural/neural.ec
samples/games/cards/poker/poker.ec
samples/games/cards/ruff/src/server.ec
samples/games/cards/tongIts/tongits.ec
samples/games/chess/src/ai.ec
samples/games/chess/src/chess.ec
samples/games/crosswords/CrossWordsServer.ec
samples/games/tetrominoes/tetrominoes.ec
samples/games/ticTacToe/TicTacToe.ec
samples/guiAndGfx/snow/snow.ec