![]() |
.. (לתיקייה המכילה) | |
How to set and verify the new g++ version for the assignment?
|
In order to use gcc/g++/gfortran 4.7.1, you should run first: source /usr/local/gcc4.7/setup.csh # for CSH and TCSH or: . /usr/local/gcc4.7/setup.sh # for BASH and SH verify version by: gcc --version gcc (GCC) 4.7.1 Please note that this change will expire after you log out. Refer to tutorial #6 to see how to make this permanent. |
How do I get a C++11 compiler?
|
For a windows machine with MinGW, do the following: 1. If you have a 32-bit windows click here. If you have a 64-bit windows, use this link. Download the latest version of GCC for Windows. 2. Unzip the contents of this file into where your MinGW is. Unless you changed it during the original installation, this should be C:\ |
How do I create get C++11 to work in Eclipse?
|
Eclipse handles most features of C++11, especially those which are required for the exercise. 1. Start by creating a new C++ project in Eclipse. 2. Add the -std=c++11 flag by going into Project | Properties | C/C++ Build. Choose C++ Compiler, Settings and add under miscellaneous "-std=c++11". This is almost identical to setting a C project to C99. 3. In addition, to make Eclipse understand C++11, go to Discovery Options (Also under C/C++ Build). Make sure "C++ Compiler" is chosen and under "Compiler invocation arguments" add "-std=c++11" in the end of this line (with a space before ti of course). In case you're wondering, the last part (3), allows Eclipse to parse all the C++ headers files correctly for C++11. |
In Point: Can we assume that the coordinates is INT?
| Yes. |
Do Point::cross method has "this"?
|
No. Cross should be static method. |
Which constructors we should implement in arrangement class?
|
Arrangement should has two constructors: 1.Default const`. 2. constructor with exactly one plane. |
Can I assume that plane is legal?
| Yes. |
Can we use cmath library?
| Yes. |
Did you update the test folder? (~mtm/public/1213c/ex4)
| Yes. (Last update was in 14/09/2013 17:00 ). |
Can you explain what you mean by Customer and Station?(In Hebrew)
|
כן, לקוח - מורכב משלושה דברים , ת.ז כמות מקסמילית של הזמנות ושטח אותה ת.ז חייב להופיע אך ורק עם אותה כמות ושטח - כמו שמופיע בקובץ הדוגמה. Station בעברית השתשמנו במילה מתחם זה מכיל שם המתחם ואוסף לקוחות. שכל לקוח יכול לשבת על אחד משלושת השטחים שהוגדרו בתרגיל. |
שינוי בהוראות התרגיל
|
למנוע בדיקת טיפוס של משתנים שנקבעים בזמן ריצה, אין צורך לבדוק האם שטחים זהים, זאת אומרת אם מנסים להכניס לקוח שיש לו אותה ת.ז ואתה כמות מקסימלית של הזמנות אזי לזרוק חחריגה מסוג שהלקוח קיים, אחרת אם רק ת.ז משותף אז לזרוק שהלקוח לא תקין, כלומר אין צורך לבדוק את השטח של הלקוח. |
How should I build the MakeFile and where?
|
How should I submit the files? How many folders? The MakeFile should be in the main zip and not inside any directory. It should be able to build our examples and your tests with the relevant rule. |
Can you explain how direction method work (in arrangement.h)?
|
Exactly like in excersice 1. |
Makefile clarification
|
Your submission should not contain any file from the files we gave you. You can assume that all needed files we gave you will be in the units dictionary. Note that each directory should stand by itself, that means you will probably have the list.h file inside the following directories: McCollectiontests,Listtests and other |

