Hi..i wan to ask how to draw (line, box, point etc) on C linux?
what library do they have?
Thank you
Haany Boyke
Hi..i wan to ask how to draw (line, box, point etc) on C linux?
what library do they have?
Thank you
Haany Boyke
Assuming you are talking about XWindows and not console programs their are some XWindows graphics functions, but if you want portable code can use Mesa (OpenGL) which is an install option on redhat or you can download it. You will need to include <GL/glut.h> or some related files.
Ivan
Thanks for your reply....
But how about if my program is console program?
the problem is.., my program is a parallel program (using MPI and VPM)...and i want to visualize the result that i get with graphs....and i think i have to use console instead. Will the glut.h work?
Thanks alot...
boyke
http://invisible-island.net/ncurses/man/ncurses.3x.html
Simple graphics - just horizontal and vertical lines, perhaps in colour
http://www.svgalib.org/
More complex graphics
no glut.h needs xwindows but if you are doing serious data visualization for a parrallel process application I would seriouslly consider writing a XWindows app with OpenGL if at all possible.
Ivan