|
-
March 23rd, 2008, 05:43 AM
#1
Array Problem
Ok well first off, i am coding a game in c++, its text based and im coding it to get experince in c++ as i am relevently new To Coding in c++.
Ok , so my problem is i want to make an inventory where when i click buy weapons it stores the weapon/ item anme inside an array and i can then call this array for when im attacking monsters or make an if statement to say if the array[1] = dagger, so on so forth then my strength increases..
any idea??
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|