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.

What does super.paintComponent(g) do?

What does it do? It prints the component as if you hadn’t overridden the paintComponent method. If you have a background color set for instance, this is typically painted by the class you’re extending. When do we need to use it? You use it if you don’t paint on the entire component. The parts that … Read more

Aspect Ratio with 800×480

800×480 is the most common resolution on Android powered devices. Your aspect ratio would be: 5:3 (which is the same as 800:480 just put in its simplest form). All your graphics should be created on a composition with the size 800×480, not to have stretched graphics when you run your game. I would suggest you … Read more

How can I do GUI programming in C?

This is guaranteed to have nothing to do with the compiler. All compilers do is compile the code that they are given. What you’re looking for is a GUI library, which you can write code against using any compiler that you want. Of course, that being said, your first order of business should be to … Read more