Skip to content

Commit

Permalink
Xref C++ version of simple example
Browse files Browse the repository at this point in the history
  • Loading branch information
kamahen authored and JanWielemaker committed Sep 22, 2024
1 parent e82a993 commit 9bcb35b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion man/foreign.doc
Original file line number Diff line number Diff line change
Expand Up @@ -5265,7 +5265,9 @@ C compiler.

The following is a very simple example going through all the steps
outlined above. It provides an arithmetic expression evaluator. We will
call the application \program{calc} and define it in the files \file{calc.c}
call the application \program{calc} and define it in the files
\file{calc.c}\footnote{A similar C++ program is in
\href{https://www.swi-prolog.org/pldoc/man?section=cpp2}{C++ interface to SWI-Prolog (Version 2)}.}
and \file{calc.pl}. The Prolog file is simple:

\begin{code}
Expand Down

0 comments on commit 9bcb35b

Please sign in to comment.