Tscope5
display01.cpp
////////////////////////////////////////////////////////////////////////////////
//
// __ ______
// / /_______________ ____ ___ / ____/
// / __/ ___/ ___/ __ \/ __ \/ _ \ /___ )
// / /_(__ ) /__/ /_/ / /_/ / __/ ____/ /
// \__/____/\___/\____/ .___/\___/ /_____/
// /_/
//
// display01.cpp
// - C++ example
// - Open a display, count from 10 to 0
// - NOTE: When using c++
// the argc/argv command line arguments are always necessary
// even when they are not used.
////////////////////////////////////////////////////////////////////////////////
#include <tscope5.h>
int main(int argc, char **argv)
{
int i;
for (i=10; i>=0; i--) {
ts5_printf(0.0, 0.0, "%d", i);
ts5_wait(0.1);
}
return 0;
}