I downloaded and installed Lite-C on my Windows XP system. The installation went smoothly, but most of the sample programs that I've been able to obtain don't run. When I try to launch these from within the Script Editor, either nothing at all happens, or something flashes on the screen for a fraction of a second.
Below I've copied one of the programs from the Lite-C workshop that doesn't run. If there is someone out there who has a windows XP system and is able to run this program, please let me know.
// START
#include <acknex.h>
#include <default.c>
var a = 0;
var b = 0;
var c = 0;
PANEL* panDisplay =
{
digits(35, 10, "a = %0.f", *, 1, a);
digits(35, 19, "b = %0.f", *, 1, b);
digits(35, 28, "c = %0.f", *, 1, c);
flags = VISIBLE;
}
function main()
{
video_mode = 7; // create a program window of 800x600 pixels
screen_color.blue = 150; // and make its background dark blue
while (1)
{
c = a + b;
wait (1);
}
}
// END