From 3205601eeb928d7721bf5a9a7f2b9befff6042ee Mon Sep 17 00:00:00 2001 From: Ziad Arafat Date: Wed, 1 Feb 2023 17:02:07 -0700 Subject: [PATCH] Added instructions for python file --- PA001/README.html | 8 ++++++++ PA001/README.md | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/PA001/README.html b/PA001/README.html index 61317b2..2530c9c 100644 --- a/PA001/README.html +++ b/PA001/README.html @@ -381,6 +381,14 @@ code {
make clean
+

Usage Python Name Generator

+

This python script printit.py will print out the array assignment lines +necessary to create a given string's bytes in little endian.

+
    +
  1. Replace the name in the file with your own string/name
  2. +
  3. python printit.py
  4. +
  5. Save yourself the headache.
  6. +

Programming Assignment #1

Simple example of type casting and pointers:

diff --git a/PA001/README.md b/PA001/README.md index c7021a2..142cf09 100644 --- a/PA001/README.md +++ b/PA001/README.md @@ -14,6 +14,14 @@ make ``` make clean ``` + +## Usage Python Name Generator +This python script `printit.py` will print out the array assignment lines +necessary to create a given string's bytes in little endian. + +1. Replace the name in the file with your own string/name +2. `python printit.py` +3. Save yourself the headache. --- ### Programming Assignment #1