Discount week - October
Save up to 80 % on our C and C++ e-learning courses. Only this week!
Get up to 50 % extra points for free! More info

Matrix

Matrix or “Matrix Rain” is a program that randomly generates characters and prints them in console. More detailed description of the program and explanation is attached to the source code.

Code sample:

/* setting up console title */
Console.Title = "Matrix";

/* cursor disabling */
Console.CursorVisible = false;

/* setting up text color */
Console.ForegroundColor = ConsoleColor.DarkGreen;

/* setting up position from left to 0 */
Console.WindowLeft = 0;

/* setting up position from top to 0 */
Console.WindowTop = 0;

/* (setting up console height)... console height = buffer height = "maximal" window height */
Console.WindowHeight = Console.BufferHeight = Console.LargestWindowHeight;

/* (setting up console width)... console width = buffer width = "maximal" window width */
Console.WindowWidth = Console.BufferWidth = Console.LargestWindowWidth;

.
.
.

Gallery

Program was created in 2012.

 

Download

Downloaded 4x (146.68 kB)
Application includes source codes in language C# .NET

 

All articles in this section
C# .NET Community Projects - Basic Constructs
Program has been written for you by Eldest
Avatar
Do you like this article?
No one has rated this quite yet, be the first one!
Activities (1)

 

 

Comments

To maintain the quality of discussion, we only allow registered members to comment. Sign in. If you're new, Sign up, it's free.

No one has commented yet - be the first!