Thread
:
Random Number
View Single Post
Nov 30th, 2005, 4:55 PM
#
18
Ooble
I eat cake for breakfast.
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power:
9
Hacker, you're creating a whole new variable called
a
inside the loop every iteration that replaces the one outside the loop for its duration. Remove the "int".
BN, why not use
ctime
instead of
time.h
? This
is
C++ ya know.
__________________
Me
::
You
::
Them
Ooble
View Public Profile
Visit Ooble's homepage!
Find More Posts by Ooble