June 30, 2009

C++ I’m making a text based game.Can I have an array that passes to another array?

text based game
dante_creed asked:


my expression? probably out in that question, cos? here it?: srand (time (0)); enemyLevelChoices as int [10] = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10); computerLevel of int; computerLevel = enemyLevelChoices [log ()% 10]; level / / if = 1, then HP 70 if level = 2, then 80 HP lv 3 = 90 horsepower lv 4 = 100 horsepower lv 5 = 110 horsepower lv 6 = 120 horsepower lv 7 = 130 horsepower lv 8 = 140 horsepower lv 9 = 150 horsepower lv 10 = 175 horsepower I know that there? better perch? which generate m? lto if statements. I just need some advice

Content

a

a a a

a

a