How to create a rectangle using SDL in pelles C

Started by potchi, June 30, 2011, 03:20:15 PM

Previous topic - Next topic

potchi

Hi!

How to create a rectangle using SDL in pelles C?

I already installed SDL in pelles C and tried some sample codes in the net and it work.

Now, I would like to create a rectangle and inside the rectangle is a line so that
it divides the rectangle.

Im immitating a memory (RAM) image.

Thanks!