Article View: gnu.g++.help
Article #918Re: IS THIS LEGAL? Static method returns pointer to class
From: Mickey Williams 66753
Date: Mon, 04 Mar 1996 17:36
Date: Mon, 04 Mar 1996 17:36
28 lines
1268 bytes
1268 bytes
In article <4hdu70$efa@panix.com>, acinader@panix.com (Arthur Cinader Jr) writes:
> 10 class Trianlge : public Point {
^^ Tri - a n g l e
> 11 public:
> 12 Trinagle(float = 0.0, float = 0.0, float = 0.0);
^^
> 13 float gets() const;
> 14 virtual void draw() const;
> 15
> 16 static Param &getParams();
> 17 static Triangle *makeinstance(Param &);
^^^^^^^^ This is the traditional spelling
> 18 private:
> 19 float side;
> 20 };
Trianlge, Trianagle, Triangle: pick one, and stick with it ;)
---
Mickey Williams
Ericsson Inc. Business Systems Division
+1 714 236-6753
The opinions above are mine alone, and not those of my employer...
Technical Details
Message-ID:
<4hf9nr$d19@cnn.exu.ericsson.se>Path:
arc1-ca.pugleaf.net!cnn.exu.ericsson.se!newsReferences:
<4hdu70$efa@panix.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!cnn.exu.ericsson.se!news From: ebumow@unconfigured.xvnews.domain (Mickey Williams 66753) Newsgroups: gnu.g++.help,comp.lang.c++ Subject: Re: IS THIS LEGAL? Static method returns pointer to class Date: 4 Mar 1996 17:36:58 GMT Organization: The unconfigured xvnews people Message-ID: <4hf9nr$d19@cnn.exu.ericsson.se> References: <4hdu70$efa@panix.com> Reply-To: ebumow@unconfigured.xvnews.domain NNTP-Posting-Host: franklin.ebu.ericsson.se