I have a C# function that generates a random upper case string of given length. It looks straightforward and the class StringBuilder is used to concatenate each random character. …
In Delphi/Object Pascal, the random function returns a float number that is between 0 and 1 inclusive. If you want to get a random number between two float numbers …
In , random coloured squares are drawn on console using C++ based on CodePage 437. It is a pure native application and the compiled binary size is just around …
We all know the area of a circle is computed as . Suppose the radius is ONE for simplicity to compute the value of , we can have the …
February 13, 2014
32 bit, animation, beginner, c / c++, code, console, implementation, programming languages, Win32 API, windows
In yesterday’s post, the random rectangles are printed using console only without the help of any graphics. The basic type of each element/pixel in the console (code page 437) …