man exswitch () - Controlling the console switch mode for background running. Allegro game programming library.

NAME

exswitch - Controlling the console switch mode for background running. Allegro game programming library.

SYNOPSIS

#include <allegro.h>

Example exswitch

DESCRIPTION

This program shows how to control the console switching mode, and let your program run in the background. These functions don't apply to every platform and driver, for example you can't control the switching mode from a DOS program.

Yes, I know the fractal drawing is very slow: that's the point! This is so you can easily check whether it goes on working in the background after you switch away from the app.

Depending on the type of selected switching mode, you will see whether the contents of the screen are preserved or not.

SEE ALSO