A project for COURSENAME by YOUR NAME during the SEMESTER YEAR.
This project was begun on DATE and is anticipated to take TIME UNIT to complete. Project was completed on MONTH DAY, YEAR.
State the purpose of this project. What is the point of this project? What do we hope to accomplish by undertaking it?
In order to successfully accomplish/perform this project, the listed resources/experiences need to be consulted/achieved:
State the idea or purpose of the project. What are you attempting to pursue?
You'll want to fill this section out with more detailed background information. DO NOT JUST PROVIDE A LINK.
Providing any links to original source material, such as from a project page, is a good idea.
You'll want to give a general overview of what is going to be accomplished (for example, if your project is about installing a web server, do a little write-up on web servers. What is it, why do we need one, how does it work, etc.)
Project #2 was to be an awesome exploration of array manipulation and functions, built atop a comfortable yet easy foundation of simple mathematics.
As it turns out, procrastination and refusal to work out ideas on paper are killer obstacles.
This project will therefore ebrace and extend upon project #2, where you will finish implementing code to support the storage and manipulation of numbers outside of the established data types. And once you have that, we'll do some additional modifications to reflect concepts covered is class.
So, for this project I'd like for you to:
Some helpful hints:
If you don't understand what “WORK IT OUT ON PAPER” means, it means to go through several STEP-BY-STEP iterations BY HAND of some of the very math operations you'd expect your program to ultimately perform.
Try it out for yourself- pick two arbitrary 8-digit numbers, and ADD them together. BY HAND. Note how you calculate the individual sums and carries. Watch how the carries propagate from right to left.
Do the some for subtraction, multiplication, division, modulus, and exponent.
Can you define multiplication in terms of addition?
Can you define division in terms of subtraction?
The C code:
/* * mycode.c - program that does blahblahblah * * Compile with: gcc -o myprogram mycode.c * * * Execute with: ./myprogram * */ #include <stdio.h> int main() { printf("Hello, World!\n"); return(0); }
Don't forget your C++ code as well.
An example run of your code (be sure to show off all operations):
lab46:~/src/cprog/project1$ ./encipher 7 Cipher key provided on command line: 7 Message is: Traveling the world is the best way to study geography. Cipher is: Ayhclspun aol dvysk pz aol ilza dhf av zabkf nlvnyhwof. lab46:~/src/cprog/project1$ cat cipher.txt Ayhclspun aol dvysk pz aol ilza dhf av zabkf nlvnyhwof. lab46:~/src/cprog/project1$
Comments/thoughts generated through performing the project, observations made, analysis rendered, conclusions wrought. What did you learn from doing this project?
In performing this project, the following resources were referenced:
Generally, state where you got informative and useful information to help you accomplish this project when you originally worked on it (from Google, other wiki documents on the Lab46 wiki, etc.)