I've been using this piece of code that caused no compiler
trouble:
Now it doesn't compile...it gives me "error C2064: term does
not evaluate to a function".....I checked error from the CD
and it shows examples such as integer being used like a function; nothing like my problem.
I'm pretty sure my problem is with 'time'...i've tried using it different ways, such as
...same error
Also, i've goofed the way my windows show up now ( i'm working with Microsoft C++ ver 4.0 ), so the ability to have two windows showing with a vertical line ( that splits
them ) that can be moved horizontally has been lost, and I don't know where the setting is to get it back.
On top of that, I can't get the Contents listing of my Help files on the CD to show. I'm in a sucky mood right now.
trouble:
Code:
srand ( ( unsigned ) time ( NULL ) );
Now it doesn't compile...it gives me "error C2064: term does
not evaluate to a function".....I checked error from the CD
and it shows examples such as integer being used like a function; nothing like my problem.
I'm pretty sure my problem is with 'time'...i've tried using it different ways, such as
Code:
time ( &generated_time )
Also, i've goofed the way my windows show up now ( i'm working with Microsoft C++ ver 4.0 ), so the ability to have two windows showing with a vertical line ( that splits
them ) that can be moved horizontally has been lost, and I don't know where the setting is to get it back.
On top of that, I can't get the Contents listing of my Help files on the CD to show. I'm in a sucky mood right now.