- A C library for programming cognitive experiments on Windows
On Linux, the commands are roughly the same as in Cygwin.
Compile foo.c with
tcc foo.cThis will produce foo.out, if there are no errors in your code. The tcc command is a simple shell script that tells gcc which libraries have to be linked, and where to search for them.
You can run foo.out with
./foo.out
A running program can be killed by pressing CTRL-C in the shell.
indent -kr -ts4 foo.cWill clean up your code by making it compliant to the Kernigan and Richie coding style.
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
.