Article View: comp.windows.interviews
Article #773Re: List Problems
From: Adam Janin 5-3545
Date: Tue, 06 Oct 1992 15:25
Date: Tue, 06 Oct 1992 15:25
46 lines
1880 bytes
1880 bytes
> I'm having some problems using the List class in InterViews 3.1 beta3.
> In IV3.0 the following worked fine (simplified example):
> ...
Try:
1 class Block
2 {
3 public:
4 int f();
5 private:
6 int n;
7 };
8
9 typedef Block* Blockp; <<<<
10
11 declareList(BlockList,Blockp); <<<<
12 implementList(BlockList,Blockp); <<<<
The lexical parsing of the #defines of implementList and declareList seems
to be somewhat incompatible with pointer types. I really wish templates
were available!!
Hope this helps,
Adam Janin
----------------------------------------------------------------------
| Adam Janin |
| Boeing Computer Services |
| Advanced Computing Systems |
| P.O. Box 24346, MS 7L-22 |
| Seattle, WA 98124-0346 |
| janin@espresso.boeing.com |
| Work: (206) 865-3545 |
| Fax: (206) 865-2966 |
| Home: (206) 557-0615 |
|--------------------------------------------------------------------|
| |
| When a fly lands on the ceiling, does it do a half roll or a |
| half twist? |
| |
----------------------------------------------------------------------
Technical Details
Message-ID:
<9210061525.AA19685@espresso.bcs.eca>Path:
arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!espresso.boeing.com!janinShow Full Headers
Complete Article Headers
Newsgroups: comp.windows.interviews Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!espresso.boeing.com!janin From: janin@espresso.boeing.com (Adam Janin 5-3545) Subject: Re: List Problems Message-ID: <9210061525.AA19685@espresso.bcs.eca> Sender: news@shelby.stanford.edu (USENET News System) Organization: Internet-USENET Gateway at Stanford University Date: Tue, 6 Oct 1992 15:25:33 GMT Lines: 47