#Al's C++ window.c
4 messages in this thread
Having a problem with Al Stevens window.c, from last September issue. (Not
sure how, but I have 2 August issues & no Sept.) IAC, I am a brand new C++
initiate, and cannot get window.c to compile using Zortech C++ v. 2.0. I
keep getting a "Syntax error: not found or ambiguous reference to function
'cursor'" in 3 lines of the window module. Please feel free to jump right
in and tell me what I'm doing that's dumb – a lesson in humility would be
welcome at this point if it will shortcut my learning curve. Thanks.
Chances are the code from that issue doesn't work with Zortech 2.0. I
developed it with 1.7 back when I was first exploring C++, so it might not
be (probably isn't) 100% C++.
Al Stevens
> Chances are the code from that issue doesn't work with Zortech 2.0. I >
developed it with 1.7 back when I was first exploring C++, so it might not
be > (probably isn't) 100% C++.
Thanks for the response, though disappointing. Oh well, making
modifications is often a good pathway to learning. BTW, I enjoy your
columns and your ability to communicate clearly.
When you get the ambiguous reference to a function, it usually means that
you passed the wrong parameters to it. In looking at your calls to cursor,
make sure you are passing the right types. If cursor(…) is not
prototyped, The first call to cursor sets the types of parameters to the
function. I've had a million errors like the one you're talking about &
checking calling types seems to solve them.