Window creation/X11: Difference between revisions

m
explicitly link Xlib for C (so it'll be in the category), fix whitespace for ALGOL
m (moved Xlib simple window to X11 simple window: ALGOL, Common Lisp, Tcl examples are not (directly) using Xlib)
m (explicitly link Xlib for C (so it'll be in the category), fix whitespace for ALGOL)
Line 1:
{{task|GUI}}
Create a simple Xlib application that draws a box and "Hello World" in a window
 
=={{header|ALGOL 68}}==
{{works with|ALGOL 68G|tested with release mk15-0.8b.fc9.i386}}
 
Using the X11 & plotutil libraries is not part of any of the original UNESCO/IFIP [[ALGOL 68]]
reports. As at December 2008 only [[ALGOL 68G]] comes with these built in.
Line 18 ⟶ 20:
</pre>
{{omit from|AutoHotkey}}
 
=={{header|C}}==
 
{{libheader|Xlib}}
 
Compile with: