| 1 |
% $Id: token.w,v 1.3 1995/08/29 15:21:08 schrod Exp $ |
| 2 |
%---------------------------------------------------------------------- |
| 3 |
|
| 4 |
% tests: rendering of tokens |
| 5 |
|
| 6 |
\documentclass{cweb} |
| 7 |
|
| 8 |
\begin{document} |
| 9 |
|
| 10 |
@ |
| 11 |
@c |
| 12 |
a = 100L; |
| 13 |
a = 100UL; |
| 14 |
|
| 15 |
@ shift operators: |
| 16 |
@c |
| 17 |
cout << "hello, world" << endl; |
| 18 |
cin >> var; |
| 19 |
|
| 20 |
@ formatting that depend on font sizes in Plain \texttt{CWEB}: |
| 21 |
@f foo_bar int |
| 22 |
@c |
| 23 |
foo++; bar--; |
| 24 |
foo_bar obj; |
| 25 |
obj->method(); |
| 26 |
|
| 27 |
|
| 28 |
@ |
| 29 |
\end{document} |