...So, I was getting my dork on, making an NPC battle simulator, when it occurred to me that the most efficient method for doing so was to build a nine dimensional array, representing a myriad of stats...problem is, I can't remember crap from my CS 115 class, other than the basics, and the MSDN library is a little on the technical side...so what I really need to know is the following:
1)What's the syntax for storing something to a single element of an array?
2)What's the syntax of a for loop?
I guess that's it for now...if you all know of where I could find that (I'd hate to buy a forty dollar book just for two little things like that!), you'd win my complete admiration and respect!
EDIT: OH, this is in C++ ...might need that!
[ 06-05-2006, 03:47 PM: Message edited by: Ilander ]
__________________
Is that what you really want to say?
|