Commit fc67f3e0 authored by Lev Walkin's avatar Lev Walkin

syntax fixes

parent 43955cbf
...@@ -2777,7 +2777,7 @@ free_struct ...@@ -2777,7 +2777,7 @@ free_struct
\layout Part \layout Part
Examples Examples
\layout Chapter \layout Chapter*
Step-by-step: A Step-by-step: A
\begin_inset Quotes sld \begin_inset Quotes sld
...@@ -2864,22 +2864,39 @@ Alternatively, use the Online ASN.1 compiler ...@@ -2864,22 +2864,39 @@ Alternatively, use the Online ASN.1 compiler
\series bold \series bold
rectangle.asn1 rectangle.asn1
\series default \series default
file into the Web form and unpacking the produced archive into the target file into the Web form and unpacking the produced archive on your computer.
directory on your computer.
\layout Enumerate \layout Enumerate
By this time, you should have multiple files in the current directory, including By this time, you should have gotten multiple files in the current directory,
the Rectangle.c and Rectangle.h files. including the
\series bold
Rectangle.c
\series default
and
\series bold
Rectangle.h
\series default
.
\layout Enumerate \layout Enumerate
Create a main() routine which takes the binary input file, decodes it as Create a main() routine which takes the binary input file, decodes it as
it were a BER-encoded Rectangle type, and print out the text (XML) representati it were a BER-encoded Rectangle type, and prints out the text (XML) representat
on of the Rectangle type. ion of the Rectangle type.
Let's name the file Let's name the file
\series bold \series bold
main.c main.c
\series default \series default
: :
\begin_inset ERT
status Open
\layout Standard
\backslash
clearpage{}
\end_inset
\begin_deeper \begin_deeper
\layout LyX-Code \layout LyX-Code
...@@ -3172,14 +3189,18 @@ n ...@@ -3172,14 +3189,18 @@ n
\end_deeper \end_deeper
\layout Enumerate \layout Enumerate
Compile all files together using C compiler: Compile all files together using C compiler (varies by platform):
\begin_deeper \begin_deeper
\layout LyX-Code \layout LyX-Code
\emph on \emph on
cc -I. cc -I.
-o rdecode *.c -o
\series bold
rdecode
\series default
*.c
\end_deeper \end_deeper
\layout Enumerate \layout Enumerate
......
No preview for this file type
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment