Unformatted text preview:

CS 215 - Fundamentals of Programming IISpring 2008 - Submission InstructionsWhile there are a plethora of software development environments for the C++ programming language that are implemented on many different platforms, for consistency and experience, programming assignments in CS 215 are to be completed using the GNU C++ compiler (g++) on the CS project server, csserver.evansville.edu. Having everyone using the same compiler will contain any potential compiler bugs and keep the language semantics consistent (by requiring certain semantic switches-see below). Although there has been an ISO standard for C++ since December 1999, different compilers still interpret and implement the newer language constructs differently, and they each have their quirks (though it is getting much better). Having a common compiler will help in containing these quirks. Also, occasionally include files may be given as part of the assignments. These files may be platform dependent and/or refer to precompiled libraries. Access to these files will be aided by having everyone on the same platform and using the same compiler.Compiler and CompilationProgramming assignments must compile on csserver using the g++ compiler for minimal credit to be given for the project. This does not mean that some (or even all) of the programming assignment must be developed on the csserver. Those of you that have other development systems can complete some or all of an assignment on that system. However, when the program is turned in, it must compile using g++ without any intervention from the instructor. A program that works "perfectly" using, say, the Visual C++ compiler will be returned for resubmission for late credit if it does not compile on csserver- using g++. (Also note that the lab practical exam will require that programs be written using the tools on csserver.)All source files will use the following conventional suffix indication:.cppUser-defined C++ source files.hUser-defined C++ header filesTo compile C++ code you are to use:g++ <compiler options> <source files>Common compiler options include:-o <executable name>creates executable file of given name; default is a.out otherwise-ccompile only; creates .o object file(s) of same name(s) as source file(s)-Wallcompile with all warnings turned on; this is required to produce the most conforming code possible-gcompile for symbolic debuggingGenerally, you will submit a makefile in addition to source and header files that will invoke g++ appropriately. See the handout Very Basic make for an explanation of makefiles. Note: when you do run 01/14/08 1 of 3the compiler from the command line, be very careful that you put the executable name after the -o option, otherwise the compiler will overwrite the first source file. Turning in AssignmentsAssignments will submitted both on-line via the automated submission system at submission.evansville.edu and in hard-copy printout. To receive a minimal grade the source code must compile as noted above.For the on-line submission, all files necessary for a project must be archived together using the tar facility. The tarfile should include all of the files required for the assignment as specified. These may include makefiles, header files, source files, input files, and output files you might have written. Your tarfile should be named as follows: YourUsernameAssignmentNumber.tarThe tar facility is invoked using: tar -cvf <tarfile> <files to archive>where the options -cvf mean create a tarfile, report in verbose mode, and put the archive in file <tarfile>. If you want to check whether all your files got included in your tarfile, you can list the tarfile contents (option -t) using: tar -tf <tarfile>You can also try extracting the files from the archive (in a different directory! - option -x) using: tar -xvf <tarfile>For example, suppose A. Good Student's (username ags) 6th project for CS 215 includes the following files: Makefile.proj6 stack.h stack.cpp sim.cppThen A. Good would tar these files as follows: tar -cvf agsProject6.tar Makefile.proj6 stack.h stack.cpp sim.cppNote: Be very careful that you put the tarfile name after the -cvf, otherwise this will overwrite the first file in the file list as the tarfile. Then A. Good would submit the file agsProject6.tar to the submission system as follows:● If the tarfile is not accessible on the local machine, copy it from csserver to the local machine. Your csserver home directory can be accessed as a network drive on Windows machines 01/14/08 2 of 3connected to the UE network. Do Start -> Run, type "\\csserver\username" in the dialog box. You will be asked to log in. (Make sure the username in the login box is "csserver\username", otherwise it will log into ACENET.) After doing this, you will be able to browse to your csserver home directory using whatever drive letter you chose. For Windows machines outside the UE network, WinSCP works well for copying files.● In a web browser, go to http://submission.evansville.edu● Login into the system using your ACENET username. The initial password is your WebAdvisor ID without the initial '0'. (You should change your password after logging in the first time.)● Click on "Submit Solution" link for the appropriate assignment.● Browse to your tarfile, click Submit button.● The submission system will compile and run your program with appropriate test files. To see the result of your submission, click on "See Submissions" link for the appropriate assignment. In addition, the system will send you email from [email protected] with any error messages generated.The output of your program is compared with the expected output for the program for various tests. The result of a submission is all or nothing. Either your program produced the exact expected output (including whitespace) or it does not. Ignore the score given by the system. All assignments will be set to 10 points in the system regardless of the point value of the assignment. (The grade on an assignment is based on more than whether the program produced the correct results as explained in the syllabus. Also, not all functionality can be tested automatically.)There are 4 possible results of a submission. They are:Result DescriptionDid not extract There was an error extracting the submitted tarfileTimeout Program compiled, but ran too long. Usually means there is an infinite loop or the program is waiting for unneeded user


View Full Document

UE CS 215 - Submission Instructions

Documents in this Course
Lecture 4

Lecture 4

14 pages

Lecture 5

Lecture 5

18 pages

Lecture 6

Lecture 6

17 pages

Lecture 7

Lecture 7

28 pages

Lecture 1

Lecture 1

16 pages

Lecture 5

Lecture 5

15 pages

Lecture 7

Lecture 7

28 pages

Load more
Download Submission Instructions
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Submission Instructions and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Submission Instructions 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?