Re: Is this program OOP?

Liste des GroupesRevenir à cl c++ 
Sujet : Re: Is this program OOP?
De : tr.17687 (at) *nospam* z991.linuxsc.com (Tim Rentsch)
Groupes : comp.lang.c++
Date : 09. Dec 2024, 18:35:20
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <86plm0iwtj.fsf@linuxsc.com>
References : 1
User-Agent : Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux)
wij <wyniijj5@gmail.com> writes:

Because I said:  C++ is the best language to model general
problems.  So it is.
>
Almost all are logical propositions.  Except those few keywords,
such programwon't be recognized as a C++ program, instead of some
kind of declarative language.
>
Zebra puzzle is an interesting programing exercise because it is
not too easy and also not too difficult.
>
------------
/* Copyright is licensed by GNU LGPL, see file COPYING.   by I.J.Wang 2023
>
  Example of solving the zebra puzzle by using propositional logic.
  Zebra Puzzle https://en.wikipedia.org/wiki/Zebra_Puzzle
>
[...]
*/
#include <Wy.stdio.h>
#include <Sc/PropExpr.h>
>
using namespace Wy;
using namespace Sc;
>
[...]

You're asking a question that cannot be answered because much or
most of the program is in the two include files, which are not
shown.

As a general rule, when posting code there should be enough posted
so that readers can at least compile it.  In cases like the program
asked about here, what is posted should be enough to both compile
the program and run the generated executable.

Date Sujet#  Auteur
9 Dec 24 * Is this program OOP?23wij
9 Dec 24 `* Re: Is this program OOP?22Tim Rentsch
9 Dec 24  `* Re: Is this program OOP?21wij
10 Dec 24   +- Re: Is this program OOP?1Ross Finlayson
10 Dec 24   `* Re: Is this program OOP?19Tim Rentsch
10 Dec 24    `* Re: Is this program OOP?18wij
10 Dec 24     `* Re: Is this program OOP?17David Brown
10 Dec 24      +* Re: Is this program OOP?9Muttley
11 Dec 24      i`* Re: Is this program OOP?8David Brown
11 Dec 24      i `* Re: Is this program OOP?7Muttley
11 Dec 24      i  +* Re: Is this program OOP?4Ross Finlayson
12 Dec 24      i  i`* Re: Is this program OOP?3Muttley
12 Dec 24      i  i `* Re: Is this program OOP?2Ross Finlayson
13 Dec 24      i  i  `- Re: Is this program OOP?1Ross Finlayson
12 Dec 24      i  `* Re: Is this program OOP?2Paavo Helde
12 Dec 24      i   `- Re: Is this program OOP?1Muttley
10 Dec 24      `* Re: Is this program OOP?7wij
11 Dec 24       +* Re: Is this program OOP?5David Brown
12 Dec 24       i`* Re: Is this program OOP?4wij
12 Dec 24       i `* Re: Is this program OOP?3David Brown
14 Dec 24       i  `* Re: Is this program OOP?2wij
15 Dec 24       i   `- Re: Is this program OOP?1David Brown
12 Dec 24       `- Re: Is this program OOP?1Tim Rentsch

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal