max; not 2 arguments

D

DerekBaker

Why do I 'term does not evaluate to a function taking 2 arguments' from

int Comp;

[snipped]

Comp = wndpl.rcNormalPosition.top+ Min;
y = Max(y, Comp);

where y is also an int.

Thanks
 
V

Victor Bazarov

DerekBaker said:
Why do I 'term does not evaluate to a function taking 2 arguments'
from
int Comp;

[snipped]

Comp = wndpl.rcNormalPosition.top+ Min;
y = Max(y, Comp);

where y is also an int.

Are you by any chance missing the fact that C++ is case-sensitive?

V
 
D

DerekBaker

* Victor Bazarov:
DerekBaker said:
Why do I 'term does not evaluate to a function taking 2 arguments'
from
int Comp;

[snipped]

Comp = wndpl.rcNormalPosition.top+ Min;
y = Max(y, Comp);

where y is also an int.

Are you by any chance missing the fact that C++ is case-sensitive?

V

Yes. Thank you.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,197
Messages
2,571,040
Members
47,635
Latest member
SkyePurves

Latest Threads

Top