Relative Content

Tag Archive for c#random

New Ticking Bomb Game I made in C# , how did I do?

using System; namespace Program { class Ticking { static void Main(string[] args) { //TickingBomb(); RunWithTimer time = new RunWithTimer(49); string[] wires = { “Red “, “Blue “, “Yellow” }; Console.WriteLine(“There are three wires in the Bomb: Red = 1 , Blue = 2, Yellow = 3”); Console.WriteLine(“If you choose the wrong one the bomb will […]

Code not printing and not raising error C++

I have developed the following code to generate random numbers from an uniform distribution and using these calculate the samples from a normal distribution.
First I only used the randuniform function and it worked, it printed in the console the numbers generated as expected, but when I include the boxmuller function it simply does not print anything and so I don’t know if it’s working properly, it doesn’t raise any error too.