<TD ALIGN=LEFT VALIGN=TOP>
<!-- COL 3, every page should be different -->
<TABLE BORDER=0>
<!-- Page Header -->
<TR><TD> </TD></TR>
<!-- Section -->
<TR><TD COLSPAN=3 ALIGN=LEFT BGCOLOR="#000000" WIDTH=100%>
<FONT COLOR="#ffffff"><A
NAME="intro"><B>Assignment</B></A></FONT>
</TD>
</TR>
<!-- Top Section -->
<TR><TD COLSPAN=3 ALIGN=LEFT>
The purpose of this assignment is to get acquainted with manipulating bits in memory and files.
Compiling | ||||||||||||||||||||||
make hw1an executable named hw1 is created. |
||||||||||||||||||||||
Commandline Syntax & Program Output | ||||||||||||||||||||||
The commandline syntax for hw1 is as follows:
hw1 hexdump [file] hw1 enc-base64 [file] hw1 dec-base64 [file] Square bracketed items are optional. Follows the UNIX convention that commandline options can come in any order, if applicable. If file is not specified, the program reads from stdin. File or stdin will be referred as input below. Output of the program goes to stdout and error messages go to stderr.
The meaning of the commands are:
The output for various commands are as follows.
|