Small Help Dialog

A small help dialog in DOS mode graphics. It can b used in any application for help purpose or showing messages to the user. It uses the ASCII characters to build the windows shpe and then I have used the gotoxy() function to place the cusror at that location to print...

Enumerated type variable

Example that uses an enumerated type variable. This example uses enumerated type is used in C++ in exactly the same way it was used in ANSI-C with one small exception, the keyword enum is not required to be used again when defining a variable of that type, but it can...

Tree manipulation and traversing

Nice tree manipulation and traversing C /******************************************************* * MYCPLUS Sample Code - https://www.mycplus.com * * * * This code is made available as a service to our * * visitors and is provided strictly for the * * purpose of...

Graphics

Small C Language Program to show the drawing and filling of some basic shapes like rectangle, circle etc… with colors and different shades. First of all I have created a characters aray of patterns that will fill the drawing, then initialize the graphics mode...

Defensive Programming Techniques

Writing perfect software may be an elusive Holy Grail for developers, but a few defensive techniques, routinely applied, can go a long way toward narrowing the gap between code and ideal. Nothing will give you more peace of mind than thoroughly tested code. If...