]> www.ginac.de Git - ginac.git/commitdiff
[docs] remind users tho send EOF marker when doing input from cin.
authorRichard Kreckel <kreckel@ginac.de>
Mon, 3 Feb 2014 08:02:53 +0000 (08:02 +0000)
committerRichard Kreckel <kreckel@ginac.de>
Mon, 3 Feb 2014 08:02:53 +0000 (08:02 +0000)
The example program waiting infinitely for EOF has confused at least one
user: <http://www.ginac.de/pipermail/ginac-list/2014-January/001983.html>

doc/tutorial/ginac.texi

index d5bea846342325744ea73283293dc31c2815760d..2010a9a7d6d1e8e7343c9131528c1c7c8862c574 100644 (file)
@@ -6539,7 +6539,9 @@ Sometimes you might want to prevent GiNaC from inserting these extra symbols
 @}
 @end example
 
 @}
 @end example
 
-With this parser, it's also easy to implement interactive GiNaC programs:
+With this parser, it's also easy to implement interactive GiNaC programs.
+When running the following program interactively, remember to send an
+EOF marker after the input, e.g. by pressing Ctrl-D on an empty line:
 
 @example
 #include <iostream>
 
 @example
 #include <iostream>