|
C M S C 2 1 4 C o m p u t e r S c i e n c e II F a l l 2 0 0 4 |
Note that the instantiation file when done properly for this project will be very short (not counting the #includes it could be somewhere between 2 to 10 lines long). Also note that you should NOT #include a .cpp file in any other file besides the instantiation file otherwise you may lose points. Finally note that the instantiation file for this project must be named Instantiations.cpp and you will only be instantiating classes (not individual member functions - when you instantiate a class it instantiates all the code for that class - which is what you want done).
If you are having difficultly getting your instantiation file to work then in the worst case scenario do not do it - cxx does "magic instantiation" and thus you do not need an instantiation file and your program should still be able to submit even if you do not get the instantiation file working. You will lose at most 5 points for not having an instantiation file (on future projects you may lose more points).
An easy way to tell if your instantiation file is not complete/correct (since cxx tends to do the "magic instantiation" automatically) is to use the g++ compiler (this is just a quick way to check - we will not check your file this way) as follows:
% cp p2.tar SomeDirectory % cd SomeDirectory % tar -xvf p2.tar % g++ *.cppAnd if there are no compiler error messages then chances are your instantiation file is correct. If there are compiler error messages they might be from instantiation problems and you should inspect them, HOWEVER if you make any changes MAKE SURE THEY WORK with the cxx compiler before you resubmit (you should only be doing this check if you have lots of time left or you have already submitted your project).
In order to allow students ample time to study for Exam 1 the due date for project #2 has been extended 2 days. Thus project #2 is now due on THURSDAY, October 14th by 11pm. NOTE HOWEVER that if you do turn in project #2 by the original due date (Tuesday, Oct. 12 by 11pm) and you do not turn in a project after that time then you will receive an automatic 15 point bonus (extra credit) - for a possible grade of 115 on the project.
DO NOT LET THIS DISTRACT YOU FROM GETTING PROJECT #2 DONE and TURNED IN ONTIME. If you do not have project #2 passing the primary yet then it is STRONGLY RECOMMENDED you KEEP WORKING ON PROJECT #2 as much as possible at this time and manage the time you have left on it well.
First off - the "IMPORTANT" part should not be necessary - it is expected that students READ ALL FAQS POSTED (definitely prior to asking any questions). In particular several students have not read the FAQ below with "READ THIS" in the description line and have been coming in asking the very question answered in that short FAQ below.
As for the point of this FAQ - you have to write PART of the DLL.h file and how you do this MAY BE GRADED. Note that you should follow the following guidelines when creating your DLL.h file - even if you have submitted the project already you may lose points if your DLL.h file does not follow these rules (which may have been explicit or implicitly assumed in the original project description):
No. You do not have to do it and it won't be tested. Thus the two secondaries (in3 and in4) that test these extra credit parts will not be used when we test project #2.
However if you have time it wouldn't hurt to do the extra credit part if you didn't in project #1, unfortunately we will not be able to give you any extra credit for doing so (it was a one time offer good on project #1 only).
This was a "typo" that appeared twice in the "Additional Info" section under the description of the DataManager class. It was supposed to be printPartMembersYears and thus you can replace the printPartMembersSal with printPartMembersYears.
It is highly recommended that you use this tool at least once on each project you submit, but probably as follows:
NOTE that the memtracker tool modifies your code automatically and replaces every occurence of the word "new " with "new(214) " as this is needed in order for the memtracker tool to determine if the system libraries are having memory problems or if it is your code. Because of this, you may notice (very rarely) small problems when compiling with the memtracker tool - in particular if a variable name ends in "new" (for example if you had a variable named "renew") then it might not compile - change the name of the variable and it should work. Do not modify your code to try to "fool" our memtracker program and note that most of the time no changes to your code should be needed at all - and if some changes are needed, you will get a compiler error that should specify which file/line needs to be fixed.
Yes. Although you could make a few minor changes to your project #1 and it would "pass the submit program", if you have not removed the EventList class completely from your code and replaced it with a templatized DLL, you will receive a 0 (zero) on this project even though it may "pass the submit program".
The primary input/output files for the project have been posted and submit will now accept submissions. Note the following items:
If you are using Visual Studio to compile your project you will have to modify the AMember.h file as described here. In particular, Visual Studio says that it is a compiler error to initialize a CONST STATIC data member the way that it is done in the AMember.h file (it should not be an error, but Visual Studio doesn't like it). The way to fix this problem is to change it so that you initialize the CUR_YEAR *after* the class declaration, near the bottom of the AMember.h file. NOTE: YOU ONLY HAVE TO DO THIS IF YOU ARE USING VISUAL STUDIO. If you submit a project that has been modified as described here you will not lose any points - just make sure it compiles and runs on the class cluster using cxx and the -w0 and -std strict_ansi options.
Yes. The AMember.h file changed very slightly. It was originally posted on 9/29/04 around 6:15pm, and it was updated on 10/01/04 around 12:30pm and has not changed since then. The two changes that were made were:
Project #1 is due by 11PM on Tuesday, October 12th, 2004. Note: any project may be turned in late up to 2 days as specified on the class syllabus. For details regarding the late policy and any penalties associated with submitting late projects please see the class syllabus.
|
See the class syllabus for policies concerning email Last Modified: Sat Oct 9 12:23:32 EDT 2004 |
|
|
|
|
|