faq
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
faq [2009/04/28 04:30] – jxu | faq [2010/11/04 06:31] (current) – jxu | ||
---|---|---|---|
Line 4: | Line 4: | ||
====== General ====== | ====== General ====== | ||
- | ====== FAQ about Assignment | + | ====== FAQ about Assignment |
- | Question 1: We are planning to add a certain additional functionality X to our program for Assignment | + | **Question 1**: We are planning to add a certain additional functionality X to our program for the Assignment. Is adding the additional functionality X allowed? |
Answer to Question 1: | Answer to Question 1: | ||
Line 12: | Line 12: | ||
In Section G, Note, of the Assignment 2 description document, it is stated that, | In Section G, Note, of the Assignment 2 description document, it is stated that, | ||
- | " | + | " |
Any decision to add any particular additional functionality X to your program should be guided by the principles in Section G, Note, of the Assignment 2 description document above. | Any decision to add any particular additional functionality X to your program should be guided by the principles in Section G, Note, of the Assignment 2 description document above. | ||
- | The marker will judge whether you have made an appropriate design and implementation | + | The marker will judge whether you have made appropriate design and implementation |
+ | |||
+ | **Question 2**: How can I learn about makefiles? | ||
+ | |||
+ | Answer to Question 2: Just do a Google search using the key words " | ||
+ | |||
+ | - a brief introduction to some of the most basic features of makefiles: | ||
+ | http:// | ||
+ | - a tutorial on some of the most basic features of makefiles: | ||
+ | http:// | ||
+ | - a complete reference manual on the gnu make utility: | ||
+ | http:// | ||
+ | |||
+ | **Question 3**: For cse3221 assignment 2, I am having trouble compiling the code of my program. The errors that I get are: 1. ... 2. ... 3. ... ... | ||
+ | This makes me suspect that there is something wrong with the < | ||
+ | Could you please advise me on this issue. | ||
+ | |||
+ | Answer to Question 3: | ||
+ | |||
+ | There is nothing wrong with the pthread library on RED. | ||
+ | The best and easiest way to do the assignment, is to follow the advice | ||
+ | in the assignment 2 description document: | ||
+ | |||
+ | " | ||
+ | 1. You may start by trying to read and understand the program | ||
+ | " | ||
+ | Threads" | ||
+ | 2. The program " | ||
+ | be downloaded from the directory / | ||
+ | Try to compile and execute this program by following the | ||
+ | instructions in the " | ||
+ | 3. The book " | ||
+ | been put on reserve in Steacie Library." | ||
+ | |||
+ | Once you have studied and understood the program " | ||
+ | |||
+ | The following " | ||
+ | |||
+ | Start with the program " | ||
+ | |||
+ | |||
+ | **Question 4**: For Assignment 3, can I include the errors.h file that was used in Assignment 2? | ||
+ | |||
+ | Answer to Question 4: Yes. | ||
+ | |||
+ | **Question 5**: For Assignment 3, can I use an approach similar to the approach suggested in the answer to Question 3 above? | ||
+ | |||
+ | Answer to Question 4: | ||
+ | |||
+ | Yes. You should follow the advice given in the "F. Hints" section in the Assignment 3 description document. Once you have studied and understood the programs “pxsem/ |
faq.1240893059.txt.gz · Last modified: 2009/04/28 04:30 by jxu