HomeC&C++WainTutorialsSamplesTip&TrickTools

Beetle

This is a small Windows console text animation. It compiles on any Windows enabled C/C++ compiler.
It shows how to write colored text and how to put text at a fixed position in a console.

Windows Beetle

The Beetle in a Windows version. The code uses the Win32Api directly, so it should compile on any Windows compiler.

Curses Beetle

The Beetle in a ncurses version. The code should compile with any gcc compiler on Linux or Unix, and on Windows if it has ncurses. You have to link with the ncurses lib, -lncurses.