Author |
Message |
hell0-hacker21313 Guest
Offline
|
|
Back to top |
|
 |
hellzlaker4646545 Guest
Offline
|
Posted: Sat Dec 23, 2006 3:45 pm Post subject: |
 |
|
|
|
oh and also i did define
#define hp 10 |
|
Back to top |
|
 |
Mine GO BOOM Hunch Hunch What What

Age:41 Gender: Joined: Aug 01 2002 Posts: 3615 Location: Las Vegas Offline
|
Posted: Sat Dec 23, 2006 3:49 pm Post subject: |
 |
|
|
|
Use a debugger or a print statement before or after the switch statement to print the value of chp. My guess, it isn't 1,2,..,or 10. |
|
Back to top |
|
 |
Cyan~Fire I'll count you!

Age:37 Gender: Joined: Jul 14 2003 Posts: 4608 Location: A Dream Offline
|
Posted: Sat Dec 23, 2006 4:20 pm Post subject: |
 |
|
|
|
Don't seed the random number more than once. It's more random if you seed it once then keep randomizing it. _________________ This help is informational only. No representation is made or warranty given as to its content. User assumes all risk of use. Cyan~Fire assumes no responsibility for any loss or delay resulting from such use.
Wise men STILL seek Him. |
|
Back to top |
|
 |
hellslaker Guest
Offline
|
Posted: Sat Dec 23, 2006 9:42 pm Post subject: |
 |
|
|
|
is it possible to make a switch state ment say a>b ? |
|
Back to top |
|
 |
Mine GO BOOM Hunch Hunch What What

Age:41 Gender: Joined: Aug 01 2002 Posts: 3615 Location: Las Vegas Offline
|
|
Back to top |
|
 |
|