Graphics library in C

To plot 2D and 3D graphs in C I would recommend the library DISLIN. You can see examples here or there. The code is pretty easy to use and gives nice results.

Drawing Hexagon Using Java error

You were drawing on the JFrame. Never draw on a JFrame. Always draw on a JPanel. Here’s the GUI. Here are the major changes I made. I moved the creation of the hexagon into its own class, Hexagon. That way, you can create a List of Hexagons if you want. I moved the creation of … Read more

tech