[CLUE-Tech] C language in Linux

Tom Poindexter tpoindex at nyx.net
Wed Dec 11 10:34:38 MST 2002


On Wed, Dec 11, 2002 at 05:54:31PM +0100, Marcin wrote:
> 
> Hi,
> 
> Today I want ask you about C programming in Linux. In MS-DOS I can run
> this programme :


Not C, but for graphics programming, Tcl/Tk can't be beat:

---cut here-----------------------
#!/usr/bin/wish
pack [canvas .c]
.c create oval 100 100 50 50
--cut here-----------------------

save this as circle.tcl
chmod +x circle.tcl
./circle.tcl

you may have to change /usr/bin/wish to point to your Tcl/Tk 
interpreter, perhaps /usr/bin/wish8.3 or /usr/local/bin/wish, etc.

This code also runs on Windows, MacOS, MacOSX.



-- 
Tom Poindexter
tpoindex at nyx.net
http://www.nyx.net/~tpoindex/



More information about the clue-tech mailing list