- A C library for programming cognitive experiments on Windows
Advanced users can also compile their programs from the Cygwin bash shell. People not familiar with the bash shell should go trough the bash tutorial first.
The compilation-related commands are as follows:
Compile foo.c with
tcc foo.cThis will produce foo.exe, if there are no errors in your code.
You can run foo.exe with
./foo.exeIf necessary, kill foo.exe by pressing CTRL-C in the shell.
cedit foo.cWill open
foo.c
in the Crimson editor.
indent -kr -ts4 foo.cWill clean up your code by making it compliant to the Kernigan and Richie coding style.
vtWill open a second terminal.
As a first start you can compile and run some of the example programs that come with Tscope.
They can be found in C:\cygwin\usr\local\tscope\examples
.