i still get:
invalid suffix
expected ; before int
Then you most probably still use there a variable whose name starts with a digit, so please double-check the code.
mitrmkar
Posting Virtuoso
1,809 posts since Nov 2007
Reputation Points: 1,105
Solved Threads: 395
Call srand() just ONCE at the start of the program, not every time you want a rand().
At best, it achieves nothing. At worst, it prompts "Why does rand() always return the same value" questions on the message boards.
Salem
Posting Sage
11,531 posts since Dec 2005
Reputation Points: 5,862
Solved Threads: 953