L
Leszek L.
Hello, I am new to this group; if my question is OT then please
excuse me and tell me where to go.
I am using MS Visual C++ with some of its graphics libraries.
Now the compiler tells me that one of the member functions
that I am trying to use is not a member of that class.
The sad irony is that when I type the name of an object
of that class, followed by a dot, the IDE helpfully displays
a pop-up list of members - and guess what, the function
is right there!
So apparently, the IDE (the source editor, in fact) and the compiler
can't agree on the class structure.
In another class (also part of a library that came with the IDE),
one of the member functions has a different set of parameters
than the pop-up help would have me believe. I managed to guess
the right set of parameters and this part compiles OK.
Is there a typical mistake made by a programmer (i.e. yours truly)
that makes Visual behave in such incoherent ways?
Thanks in advance for any enlightment,
Leszek L.
excuse me and tell me where to go.
I am using MS Visual C++ with some of its graphics libraries.
Now the compiler tells me that one of the member functions
that I am trying to use is not a member of that class.
The sad irony is that when I type the name of an object
of that class, followed by a dot, the IDE helpfully displays
a pop-up list of members - and guess what, the function
is right there!
So apparently, the IDE (the source editor, in fact) and the compiler
can't agree on the class structure.
In another class (also part of a library that came with the IDE),
one of the member functions has a different set of parameters
than the pop-up help would have me believe. I managed to guess
the right set of parameters and this part compiles OK.
Is there a typical mistake made by a programmer (i.e. yours truly)
that makes Visual behave in such incoherent ways?
Thanks in advance for any enlightment,
Leszek L.