Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.programming > #6250

Re: Designing a suite of algorithms in C++

Path csiph.com!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail
From Mark Carroll <mtbc@bcs.org>
Newsgroups comp.programming
Subject Re: Designing a suite of algorithms in C++
Date Mon, 01 Feb 2016 12:04:05 +0000
Organization none
Lines 16
Message-ID <871t8w1vt6.fsf@ixod.org> (permalink)
References <2df6fc12-e6c9-4f5b-bdb7-21e35a57edbb@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain
Injection-Info mx02.eternal-september.org; posting-host="1b3e5cba9e4d07a53741e6f3d1717925"; logging-data="27215"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+eMze0XEMqPScvROuEIxTG"
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)
Cancel-Lock sha1:aUHvKeRjshHGo2ctLnaiUj7w3po= sha1:AUR0sYFOSEGq0qx/FEdpsH+zMbU=
Xref csiph.com comp.programming:6250

Show key headers only | View raw


On 01 Feb 2016, Paul wrote:

> The post below was also sent to comp.lang.c++ but it's been more than
> half a day, and I haven't got any responses so I'd like to post it to
> this group.

That's not long to wait!

> If I only had the first four to worry about, the design could be very simple. 
> I would have a pure abstract class as a base of all the algorithms.  Finding the solution is done via a virtual function which depends on the algorithm selected by the user.

... and such details of how OO works are rather C++-specific.

Good luck though.

-- Mark

Back to comp.programming | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Designing a suite of algorithms in C++ Paul <pepstein5@gmail.com> - 2016-02-01 03:38 -0800
  Re: Designing a suite of algorithms in C++ Mark Carroll <mtbc@bcs.org> - 2016-02-01 12:04 +0000
    Re: Designing a suite of algorithms in C++ Paul <pepstein5@gmail.com> - 2016-02-01 05:52 -0800
      Re: Designing a suite of algorithms in C++ Mark Carroll <mtbc@bcs.org> - 2016-02-01 15:10 +0000
  Re: Designing a suite of algorithms in C++ Paul N <gw7rib@aol.com> - 2016-02-01 14:15 -0800
  Re: Designing a suite of algorithms in C++ BartC <bc@freeuk.com> - 2016-02-01 23:00 +0000
  Re: Designing a suite of algorithms in C++ Kaz Kylheku <330-706-9395@kylheku.com> - 2016-02-01 23:24 +0000

csiph-web