- Timestamp:
- Mar 23, 2017, 10:39:30 AM (7 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 6013bd7, 7895d46
- Parents:
- 89e1b16
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/user/user.tex
r89e1b16 r0583064b 11 11 %% Created On : Wed Apr 6 14:53:29 2016 12 12 %% Last Modified By : Peter A. Buhr 13 %% Last Modified On : Mon Feb 20 12:35:48201714 %% Update Count : 13 7713 %% Last Modified On : Thu Mar 23 09:53:57 2017 14 %% Update Count : 1399 15 15 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 16 16 … … 91 91 }% title 92 92 93 \author{\huge 94 Peter A. Buhr and ... 93 \author{ 94 \huge \CFA Team \medskip \\ 95 \Large Peter A. Buhr, Richard Bilson, Thierry Delisle, \smallskip \\ 96 \Large Glen Ditchfield, Rodolfo G. Esteves, Aaron Moss, Rob Schluntz 95 97 }% author 96 98 … … 4657 4659 which is a local mechanism to disable insertion of the separator character. 4658 4660 \item 4659 A separator does not appear before a C string starting with the (extended) \Index{ASCII}\index{ASCII!extended} characters: \lstinline[mathescape=off]@([{ $£¥¡¿«@4661 A separator does not appear before a C string starting with the (extended) \Index{ASCII}\index{ASCII!extended} characters: \lstinline[mathescape=off]@([{=$£¥¡¿«@ 4660 4662 %$ 4661 4663 \begin{lstlisting}[mathescape=off] 4662 sout | "x (" | 1 | "x [" | 2 | "x {" | 3 | "x $" | 4 | "x £" | 5 | "x ¥" | 6 | "x ¡" | 74663 | "x ¿" | 8 | "x «" | 9| endl;4664 sout | "x (" | 1 | "x [" | 2 | "x {" | 3 | "x =" | 4 | "x $" | 5 | "x £" | 6 | "x ¥" | 7 4665 | "x ¡" | 8 | "x ¿" | 9 | "x «" | 10 | endl; 4664 4666 \end{lstlisting} 4665 4667 %$ 4666 4668 \begin{lstlisting}[mathescape=off,showspaces=true,aboveskip=0pt,belowskip=0pt] 4667 x (1 x [2 x {3 x $4 x £5 x ¥6 x ¡7 x ¿8 x «94669 x (1 x [2 x {3 x =4 x $5 x £6 x ¥7 x ¡8 x ¿9 x «10 4668 4670 \end{lstlisting} 4669 4671 %$ 4670 4672 \item 4673 {\lstset{deletedelim=**[is][]{¢}{¢}} 4671 4674 A seperator does not appear after a C string ending with the (extended) \Index{ASCII}\index{ASCII!extended} characters: ©,.:;!?)]}%¢»© 4672 4675 \begin{lstlisting}[belowskip=0pt] 4673 sout | 1 | ", x" | 2 | ". x" | 3 | ": x" | 4 | "; x" | 5 | "! x" | 6 | "? x" | 7 4674 | ") x" | 8 | "] x" | 9 | "} x" | 10 | "% x" | 11 | "¢ x" | 12 | "»x" | endl;4676 sout | 1 | ", x" | 2 | ". x" | 3 | ": x" | 4 | "; x" | 5 | "! x" | 6 | "? x" | 7 | "% x" 4677 | 8 | "¢ x" | 9 | "» x" | 10 | ") x" | 11 | "] x" | 12 | "} x" | endl; 4675 4678 \end{lstlisting} 4676 4679 \begin{lstlisting}[mathescape=off,showspaces=true,aboveskip=0pt,belowskip=0pt] 4677 1, x 2. x 3: x 4; x 5! x 6? x 7 ) x 8] x 9} x 10% x 11¢ 12»4678 \end{lstlisting} 4680 1, x 2. x 3: x 4; x 5! x 6? x 7% x 8¢ x 9» x 10) x 11] x 12} x 4681 \end{lstlisting}}% 4679 4682 \item 4680 4683 A seperator does not appear before or after a C string begining/ending with the \Index{ASCII} quote or whitespace characters: \lstinline[showspaces=true]@`'" \t\v\f\r\n@ … … 4694 4697 \end{lstlisting} 4695 4698 \begin{lstlisting}[mathescape=off,aboveskip=0pt,belowskip=0pt] 4696 sout | 1 | sepOff | 2 | 3 | endl; §\C{// turn off implicit separator temporarily}§4699 sout | 1 | sepOff | 2 | 3 | endl; §\C{// turn off implicit separator locally}§ 4697 4700 \end{lstlisting} 4698 4701 \begin{lstlisting}[mathescape=off,showspaces=true,aboveskip=0pt,belowskip=0pt] … … 4700 4703 \end{lstlisting} 4701 4704 \begin{lstlisting}[mathescape=off,aboveskip=0pt,belowskip=0pt] 4702 sout | sepDisable | 1 | 2 | 3 | endl; §\C{// turn off implicit separation , affects all subsequent prints}§4705 sout | sepDisable | 1 | 2 | 3 | endl; §\C{// turn off implicit separation globally}§ 4703 4706 \end{lstlisting} 4704 4707 \begin{lstlisting}[mathescape=off,showspaces=true,aboveskip=0pt,belowskip=0pt] … … 4706 4709 \end{lstlisting} 4707 4710 \begin{lstlisting}[mathescape=off,aboveskip=0pt,belowskip=0pt] 4708 sout | 1 | sepOn | 2 | 3 | endl; §\C{// turn on implicit separator temporarily}§4711 sout | 1 | sepOn | 2 | 3 | endl; §\C{// turn on implicit separator locally}§ 4709 4712 \end{lstlisting} 4710 4713 \begin{lstlisting}[mathescape=off,showspaces=true,aboveskip=0pt,belowskip=0pt] … … 4712 4715 \end{lstlisting} 4713 4716 \begin{lstlisting}[mathescape=off,aboveskip=0pt,belowskip=0pt] 4714 sout | sepEnable | 1 | 2 | 3 | endl; §\C{// turn on implicit separation , affects all subsequent prints}§4717 sout | sepEnable | 1 | 2 | 3 | endl; §\C{// turn on implicit separation globally}§ 4715 4718 \end{lstlisting} 4716 4719 \begin{lstlisting}[mathescape=off,showspaces=true,aboveskip=0pt,belowskip=0pt] … … 4730 4733 4731 4734 int main() { 4732 int x = 3, y = 5, z = 7;4733 sout | x * 3 | y + 1 | z << 2 | x == y | (x | y) | (x || y) | (x > z ? 1 : 2) | endl ;4735 int x = 0, y = 1, z = 2; 4736 sout | x * 3 | y + 1 | z << 2 | x == y | (x | y) | (x || y) | (x > z ? 1 : 2) | endl | endl; 4734 4737 sout | 1 | 2 | 3 | endl; 4735 4738 sout | '1' | '2' | '3' | endl; 4736 4739 sout | 1 | "" | 2 | "" | 3 | endl; 4737 sout | "x (" | 1 | "x [" | 2 | "x {" | 3 | "x $" | 4 | "x £" | 5 | "x ¥" | 6 | "x ¡" | 7 | "x ¿" | 8 | "x «" | 9 | endl; 4738 sout | 1 | ", x" | 2 | ". x" | 3 | ": x" | 4 | "; x" | 5 | "! x" | 6 | "? x" | 7 | ") x" | 8 | "] x" | 9 | "} x" 4739 | 10 | "% x" | 11 | "¢ x" | 12 | "» x" | endl; 4740 sout | "x (" | 1 | "x [" | 2 | "x {" | 3 | "x =" | 4 | "x $" | 5 | "x £" | 6 | "x ¥" | 7 4741 | "x ¡" | 8 | "x ¿" | 9 | "x «" | 10 | endl; 4742 sout | 1 | ", x" | 2 | ". x" | 3 | ": x" | 4 | "; x" | 5 | "! x" | 6 | "? x" | 7 | "% x" 4743 | 8 | "¢ x" | 9 | "» x" | 10 | ") x" | 11 | "] x" | 12 | "} x" | endl; 4740 4744 sout | "x`" | 1 | "`x'" | 2 | "'x\"" | 3 | "\"x" | "x " | 4 | " x" | "x\t" | 1 | "\tx" | endl; 4741 4745 sout | sepOn | 1 | 2 | 3 | sepOn | endl; // separator at start of line
Note: See TracChangeset
for help on using the changeset viewer.