Sunday, August 2, 2009

How to compile a turbo c++ program at command line?

Essentially:








C:\PrgCmdLine\tcc-0.9.23


%26gt; tcc\tcc -Iinclude -Llib examples/fib.c





C:\PrgCmdLine\tcc-0.9.23


%26gt; fib 11


fib(11) = 89





C:\PrgCmdLine\tcc-0.9.23


%26gt; tcc\tcc -Iinclude -Iinclude/winapi -Llib examples/hello_win.c





C:\PrgCmdLine\tcc-0.9.23


%26gt; hello_win


(shows a fully functional (but simple) centered window displaying a centered string)

hollyhock

No comments:

Post a Comment