Richard G Baldwin (512) 223-4758, NRG Room 4238, Baldwin@DickBaldwin.com, http://www.austincc.edu/baldwin/

COSC 1315 Fundamentals of Programming

General Requirements for Laboratory Programming Assignments

Summer 2008

Revised 05/21/08~

The official web page for this course is http://www.austincc.edu/baldwin/Summer08/Cosc1315WebPage/COSC1315.htm 

These are the general requirements for writing and submitting laboratory assignments in Professor Baldwin's COSC 1315, Programming Fundamentals course.

Submittal Requirements

You must name your source files Asg01.cpp, Asg02.cpp, etc.

Your name must appear in the program output even if it is not included in the assignment specifications.  (If you find an assignment that fails to require your name in the output, please notify Prof. Baldwin.)

You must submit each assignment by printing the material described below and submitting the printed material to Prof. Baldwin.

Skeleton format

The following skeleton format must be used for all program submissions.  Please leave blank lines between the different sections in your source code to make the code easy to read.  Also include the asterisks and the forward slash characters to serve as separators as shown.

/***********************************************
Author: <Your name here>
Assignment Number: <1,2,3,...10>
Program Name: <Asg01,Asg02,Asg03,...Asg22>
Date: <Submission date here>
File Name:  <Source file name here>

Leave two blank lines and copy the program
specifications  <-here->
***********************************************/

Leave two blank lines and insert your source 
code <-here-> followed by two more blank
lines.

/***********************************************

Leave one blank line and paste the screen
output <-here-> once the program runs 
successfully.
***********************************************/

Object-Based Programming Syntax

The specifications for several of the assignments stipulate that the program must use Object-Based Programming Syntax.  Unless stated otherwise in the specifications for a specific assignment, this means that your program must satisfy the following requirements:

Global variables:

Global functions:

Here is the code for a typical global main function:

int main(){
  ClassName::classMain();
  return 0;
}//end main

Static functions:

Here is the code for a typical static classMain function:

  static void classMain(){
    ClassName* ptrToObject = new ClassName();
    ptrToObject -> instanceFunctionName();
  }//End classMain function

Assignments will be judged either acceptable or unacceptable

If you submit a lab assignment by the deadline, your submittal will be judged either acceptable or unacceptable.  No partial credit will be given for unacceptable assignments.

-end-

File:  GenRqmts.htm