forked from zedz/lcthw-cn
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated with the new typography from clicc.
- Loading branch information
Showing
41 changed files
with
629 additions
and
1,676 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,5 @@ | ||
.*.sw* | ||
*.dSYM | ||
*.o | ||
code/ex[0-9][0-9] | ||
code/ex[0-9] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
\include{preamble-html} | ||
\include{commands-html} | ||
|
||
\title{ | ||
Learn C The Hard Way\\ | ||
\textit{A Clear \& Direct Introduction To Modern C Programming} | ||
} | ||
\author{Zed A. Shaw} | ||
\date{July 2011} | ||
|
||
\begin{document} | ||
|
||
\frontmatter | ||
|
||
\maketitle | ||
|
||
\tableofcontents | ||
|
||
\include{preface} | ||
\mainmatter | ||
|
||
\include{introduction} | ||
|
||
\part{Basic Skills} | ||
\include{ex0} | ||
\include{ex1} | ||
\include{ex2} | ||
\include{ex3} | ||
\include{ex4} | ||
\include{ex5} | ||
\include{ex6} | ||
\include{ex7} | ||
\include{ex8} | ||
\include{ex9} | ||
\include{ex10} | ||
\include{ex11} | ||
\include{ex12} | ||
\include{ex13} | ||
\include{ex14} | ||
\include{ex15} | ||
\include{ex16} | ||
\include{ex17} | ||
\include{ex18} | ||
\include{ex19} | ||
\include{ex20} | ||
\include{ex21} | ||
\include{ex22} | ||
\include{ex23} | ||
\include{ex24} | ||
\include{ex25} | ||
\include{ex26} | ||
|
||
\part{Data Structures And Algorithms} | ||
\include{ex27} | ||
\include{ex28} | ||
\include{ex29} | ||
\include{ex30} | ||
\include{ex31} | ||
\include{ex32} | ||
\include{ex33} | ||
\include{ex34} | ||
\include{ex35} | ||
\include{ex36} | ||
\include{ex37} | ||
\include{ex38} | ||
\include{ex39} | ||
\include{ex40} | ||
\include{ex41} | ||
\include{ex42} | ||
\include{ex43} | ||
\include{ex44} | ||
\include{ex45} | ||
\include{ex46} | ||
\include{ex47} | ||
\include{ex48} | ||
\include{ex49} | ||
\include{ex50} | ||
\include{ex51} | ||
\include{ex52} | ||
\include{next} | ||
|
||
\part{Reviewing And Critiquing Code} | ||
\include{krcritique} | ||
|
||
\appendix | ||
|
||
\end{document} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
|
||
\newcommand{\versal}[1]{\noindent{\Huge #1\kern-.10em}} | ||
\newcommand{\file}[1]{{\bf\ttfamily #1}} | ||
\newcommand{\ident}[1]{{\it\ttfamily #1}} | ||
\newcommand{\func}[1]{{\it\ttfamily #1}} | ||
\newcommand{\shell}[1]{{\it\ttfamily #1}} | ||
\newcommand{\python}[1]{{\it\ttfamily #1}} | ||
\newcommand{\ruby}[1]{{\it\ttfamily #1}} | ||
\newcommand{\book}[2]{{\it\ttfamily #1} by {\it #2}} | ||
\newcommand{\library}[1]{{\it\ttfamily #1}} | ||
\newcommand{\program}[1]{{\it\ttfamily #1}} | ||
\newcommand{\krc}{\ident{"K\&R C"} } | ||
|
||
\newenvironment{aside}[1] | ||
{ | ||
\begin{note} | ||
\caption{\hfill\it #1} | ||
\begin{quote} | ||
\parindent 7.2pt | ||
\parskip 5pt | ||
} | ||
{ \end{quote} \end{note} } | ||
|
||
\newenvironment{Terminal}[1] | ||
{ | ||
\begin{source} | ||
\caption{\hfill\it #1} | ||
\sffamily\small | ||
} | ||
{\end{source}} | ||
|
||
\newenvironment{code}[1] | ||
{ | ||
\begin{source} | ||
\caption{\hfill\it #1} | ||
\sffamily\small | ||
} | ||
{\end{source}} | ||
|
||
\floatstyle{ruled} | ||
\newfloat{note}{htpb}{lon} | ||
\floatname{note}{Note} | ||
\newfloat{source}{H}{los} | ||
\floatname{source}{Source} | ||
\newcommand{\listofnotes}{\listof{note}{List Of Notes}} | ||
\newcommand{\listofsource}{\listof{source}{List Of Source}} | ||
|
||
\newcommand{\rfc}[2] | ||
{ | ||
\begin{center} | ||
\ovalbox{ | ||
\begin{minipage}{.8\textwidth} | ||
\begin{center} | ||
{\bf #1:} {\it #2} | ||
\end{center} | ||
\end{minipage} | ||
} | ||
\end{center} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.