delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/02/24/06:56:52

From: Robert Hoehne <Robert DOT Hoehne AT Mathematik DOT tu-chemnitz DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Funky include files
Date: Mon, 24 Feb 1997 11:25:29 +0100
Organization: TU Chemnitz-Zwickau
Lines: 46
Message-ID: <33116C99.7F4C@Mathematik.tu-chemnitz.de>
References: <19970217 DOT 174351 DOT 7567 DOT 2 DOT fwec AT juno DOT com>
NNTP-Posting-Host: cancel.hrz.tu-chemnitz.de
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Mark T Logan wrote:
> 
> (please don't comment on my programming form, I know it needs work)

But if there are some errors, I think you should know about them.

> 
> typedef class vertex

That can be done simplyer with the same effect:

class vertex

is enough (no need for a typedef)

>  friend lindef;
should be:

   friend class lindef;

>  friend seg;
What is `seg`? If it is a class, then it should be:

   friend class seg;

>   get_x() { return x; }
>   get_y() { return y; }
> }

Here you forgot a semicolon after the }

> 
> typedef class lindef
> {
>  friend seg;

same as above.

Robert
-- 
*****************************************************************
* Robert Hoehne, Fakultaet fuer Mathematik, TU-Chemnitz-Zwickau *
* Post:    Am Berg 3, D-09573 Dittmannsdorf                     *
* e-Mail:  Robert DOT Hoehne AT Mathematik DOT TU-Chemnitz DOT DE              *
* WWW:     http://www.tu-chemnitz.de/~rho                       *
*****************************************************************

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019