Article View: comp.windows.interviews
Article #494(none)
From: Carsten Hoffmann
Date: Mon, 17 Aug 1992 15:33
Date: Mon, 17 Aug 1992 15:33
17 lines
1205 bytes
1205 bytes
PointComp/PointView
I asked for a method to create points and circles in the same way as
lines and ellipses in a viewer. Mr. John Vlissides answered that I
only have to define a PointComp by taking the code for LineComp...
I tried that just before the answer, but my problem is to define
POINT_COMP and POINT_VIEW. If I say #define POINT_COMP 9030
(like LINE_COMP), than I cannot create a point but a line again.
If I say #define POINT_COMP 9108 (the first unused number), then
I get a segmentation fault when I start the executable program.
Where are these numbers used, and what number do I have to use?
Do I have to implement any new code because of a new number?
Thanks a lot,
Carsten Hoffmann
hoffmac@uni-muenster.de
Technical Details
Message-ID:
<9208171533.AA26769@math.uni-muenster.de>Path:
arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!GINA.UNI-MUENSTER.DE!hoffmacShow Full Headers
Complete Article Headers
Newsgroups: comp.windows.interviews
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!GINA.UNI-MUENSTER.DE!hoffmac
From: hoffmac@GINA.UNI-MUENSTER.DE (Carsten Hoffmann)
Subject: (none)
Message-ID: <9208171533.AA26769@math.uni-muenster.de>
Sender: news@shelby.stanford.edu (USENET News System)
Organization: Westfaelische Wilhelms-Universitaet, Muenster, Germany
Department of Mathematics
Date: Mon, 17 Aug 1992 15:33:25 GMT
Lines: 17