///////////////////////////////////////////////////////////// // // for Multi Lab machines // ///////////////////////////////////////////////////////////// Several demos are attached. Download all the files from this site, change the name of the program in the makefile "makefile.mak" to the name of the program that you intend to run and then compile the program. For instance, to compile program "zoomin.cpp", change the name of the program in the file "makefile.mak" from drawdots.c to zoomin.cpp and then type: make -f makefile.mak ///////////////////////////////////////////////////////////// // // for CS domain machines (such as al) // ///////////////////////////////////////////////////////////// Several demos are attached. Download all the files from this site, change the priority mode of files "r" and "makefile-1.mak" to make them command files (by typing "chmod 700 r" and "chmod 700 makefile-1.mak"). To compile and execute, simply type: r drawdots // draw three dots r drawfunc // draw a function as a set of dots r drawfunc1 // draw a function as a polyline r drawsquare // draw a squre r drawrects // draw a set of randomly generated rectangles r drawfile // draw polylines stored in a file called dino.dat r drawmouse // draw polylines input by the mouse r drawmouse1 // draw rectangles input by the mouse or r drawcurve // draw a curve by dragging the mouse