| Graphics Package |
[24 Nov 2004|09:12am] |
|
Hey all. I recently posted about needing a graphics package, and just thought I'd let you all know I ended up picking "Grim". http://grim.10tons.org/docs_states.html. It's working pretty darned well. Like I said before, the graphics aren't anything too great too look at yet (I just needed functionality). If I ever get them to look nice I'll post it on the net and link you guys. If any one is interested in just seeing the code just ask (pst5@case.edu). It's a real time strategy game with no user input, it's just to AIs going at it. Right now the AIs are worse than a deaf and dumb baby.
|
|
| emulating printf |
[24 Nov 2004|08:01pm] |
|
What's an exact equivalent for printf("%01.4f", x) using iostream functions? I'm looking for something along the lines of cout.precision(4); cout << x;.
|
|