-
cool growth simulation
I just recently spent about an our or two whipping together a growth simulation program that simulates the growth of three organisms in an environment
check it out here:
http://thejefffiles.com/downloadfile...les/Growth.zip
it's pretty fun to try and keep one of the groups of things high population, while maintaining the rest of the population
-
-
I found it to be just a little odd... but if the stats are true, it is interesting.
-
its neat, but there should be a way to exit the program :-\
-
-
having the OS forcefully closing your window and the program having the capability of cleanly exiting back to the OS by itself are two different things, especially when the program is run in full screen...
though, i will give you the benefit of the doubt and assume that you have never written a clean and user-friendly program before. :)
-
ALT-F4 is not forcefully closing. With most programs, it's the same as hitting the 'X' or going to File->Exit.
-
im not going to argue the point, except to say that programs should have an obvious way to exit when they are run in full screen.
-
alt-f4 is the same as hitting the x, as it quits from the message loop and handles all of the cleanup code at the end. I'm sorry if it's really that big of a deal that i forgot to make it so you could quit with the escape key, lol. It's just one line of code....i'll put it in there right now
-edit-
sorry, two lines of code :)
Code:
if(wParam==VK_ESCAPE)
done=true;
happy day