The delay() Function

Most C programmers know the sleep() function, which pauses program execution for a given number of seconds. Seconds are a vast chunk of time, especially in a computer where things happen quickly. So a desire exists for a function that delays execution for smaller slices of time. For that duty you’ll need to code your own function, similar to the delay() function I use.
Continue reading

Error Message to stdout

The three standard I/O devices are stdin, stdout, and stderr. They represent the devices for standard input, standard output, and standard error messages. While you might see plenty of examples of stdin and stdout, examples of stderr are less common, although they don’t have to be.
Continue reading

Hello, Environment

The operating system keeps several variables in memory, variables that hold information necessary to running the computer. For example, the path variable lists directories in which the operating system looks for programs. The prompt variable describes how to display the command prompt. Some programs even create variables, allowing the programs to save configuration or other information.
Continue reading