Re: Chapter 12 problems

43 views
Skip to first unread message

tfmccarthy_verizon_mail

unread,
May 3, 2012, 1:51:42 PM5/3/12
to ppp-p...@googlegroups.com
I think the source of the problem with Circle that was commented out is now
generating the second problem. We should deal with the problems in order. So
restore the files to to original state so we can work from the same page.

Let's also make sure we are talking about the same program: the first
example from chapter 12 in section 12.3 (chapter.12.3.cpp) and draws a
polygon on the window. If this is for a different example, please specify
the section and file name for it.

So restore all the sample code to the original versions and recompile.

I'm working with a pervious version of Visual Studio (2008) bit I don't
think that is the issue.

Aside: The library code needs a version number to help track these things..

----- Original Message -----
From: "Arsen Babakhanyan" <arse...@gmail.com>
To: "PPP-public" <ppp-p...@googlegroups.com>
Sent: Thursday, May 03, 2012 10:47 AM
Subject: Chapter 12 problems


> My dear friends i see that this problem had a lot of people,
> but i hadnt found any solutions for me
> On Visual Studio 2010 i cant compile first example from chapter 12
> here was problem with :Circle(Point p, int rr) in Graph.cpp
> i commented it out and now my problem changes
> it says
> error C2872: 'Polygon' : ambiguous symbol
> but without polygon every thing else works
> i tested other samples from book
> samples with Rectangle doesnt work too, with same report
> please help me i was looking for solution all this day
>


Reply all
Reply to author
Forward
0 new messages