p3 - CMSC 106 Project #3 Fall 2011 Date assigned:...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: CMSC 106 Project #3 Fall 2011 Date assigned: Wednesday, October 19, 2011 Date due: Tuesday, November 1, 11:00 p.m. 1 Introduction The purpose of this project is to become familiar compilation of multiple files, loops and parameter passing. 2 Project specifications The submitted code should create output that is identical to what is shown in the public output files included in the .tgz file. But instead of looking at the whole project, you should work on implementing each function to do exactly what is described in the game.h file. I have already implemented the main for you as well as several public test files that will be discussed in lab on Wednesday, October 19. Each function needed has a prototype and a description in the game.h file. All of your code should be placed in the game.c file. Each function must do exactly what is described in the game.h description for that one function. DO NOT MODIFY ANY OF THE OTHER FILES YOU ARE GIVEN! 3 Step by Step Directions 1. Copy the file named proj3.tgz from the projects directory that is in your 106public directory. Place your copy of this file into your 106 directory. cp ~/106public/projects/proj3.tgz ~/106 2. Change into your 106 directory. cd ~/106 3. Then extract the contents of the file. tar -xvzf proj3.tgz 4. Then, you will see that a new directory has been created. That new directory is in your 106 directory and is named Project3. Change into that directory. cd Project3 5. Then, edit the file named game.c. DO NOT MAKE ANY CHANGES TO game.h OR TO main.c or to any of the other .c files you are given. 6. Compile and run using one of the publicX.c files or the main.c file to provide the main function. Make sure to run your program testing it on several different input values....
View Full Document

This note was uploaded on 01/12/2012 for the course CMSC 106 taught by Professor Staff during the Fall '07 term at Maryland.

Page1 / 3

p3 - CMSC 106 Project #3 Fall 2011 Date assigned:...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online