I was doing a little program for fun (It is supposed to calculate pi by calculating a random coordinate in a unit-square with a quarter-circle in it. the circle fills pi/4 of the square. the coordinates are checked if they are in the circle or not, if they aren't... whatever...)
My question (as this program is written with noobish Console C++ (Not like Console C++ is noobish just my type is)) and I want to draw this on a Graphical User Interface (Like the one provided by Microsoft with Visual C++ 2010 Express) in a PictureBox. But I dont have any idea how to do this. The Box should have a size of 1000x1000px and draw the dots lieing in the circle green and the dots outside of the circle in red. in the end there should be a more or less detailed quarter circle
If someone here has an Idea how to solve that problem pls respond here or PM me! : )