home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: sparky!uunet!cs.utexas.edu!sdd.hp.com!spool.mu.edu!umn.edu!csus.edu!netcom.com!ort
- From: ort@netcom.com (David Oertel)
- Subject: Re: Borland BIDS Library
- Message-ID: <bbyn+rq.ort@netcom.com>
- Date: Mon, 14 Sep 92 07:21:43 GMT
- Organization: Netcom - Online Communication Services (408 241-9760 guest)
- Summary: simple BIDS template example
- References: <tdukes.920901182152@alva.ee.eng.auburn.edu>
- Lines: 49
-
-
-
- >> The following is a short program that I can't get to compile. I get
- >> the following error:
-
- >> \borlandc\classlib\include\listimp.h 502: Illegal structure operation
-
-
- >> Am I doing something wrong or are the BIDS libraries useless?
- >> (My guess is the former.:)
-
- >> I am using BC++3.1 w/AF
-
-
- >> thanks
-
- >> Todd Dukes
-
- >> /* attempt to use BI_ListImp */
-
- >> #include <listimp.h>
-
- >> class point
- >> {
- >> ...
- >> };
-
- Add the following line here:
- typedef BI_IListImp<point> PointListTyp;
-
- >> void main()
- >> {
- Remove the following line:
- >> BI_IListImp<point> PointList;
-
- Add the following line here:
- PointListTyp Pointlist;
-
- >> point * pp = new point(1,1);
-
- >> PointList.add(pp);
-
- >> }
-
- I'm using BIDS with success.
-
- Dave Oertel
- ort@netcom.com
- --
-