Add a demo.bat file to the examples directory on Windows

And a new console demo program: taxi and passengers simulator
This commit is contained in:
seyko
2015-04-10 07:46:04 +03:00
parent 7e7e6148fd
commit e92dc595cd
2 changed files with 970 additions and 0 deletions

22
win32/examples/demo.bat Normal file
View File

@ -0,0 +1,22 @@
@echo off
@rem Compute 10th Fibonacci number
tcc fib.c
fib 10
del fib.exe
@rem hello_win.c
tcc hello_win.c
hello_win
del hello_win.exe
@rem 'Hello DLL' example
tcc -shared dll.c
tcc hello_dll.c dll.def
hello_dll
del hello_dll.exe dll.def dll.dll
@rem a console threaded program
tcc taxi_simulator.c
taxi_simulator
del taxi_simulator.exe