ECE 264 -- Old Announcements
- Welcome to ECE264, Fall 2009!
- Most up-to-date announcements will be posted here. Please check this page frequently.
- Change in TA office hours on Thursdays:
The TA office hours has been shifted to 2:30pm - 4:30pm on Thursdays due to the conflict with a CAD class. Please mark your schedules regarding this change.
- Tutorials on Unix and vi:
- You can find them on the ECN website.
(Unix,
vi)
- You can also google for more information. Here are some video files found for vi.
(vi_part1,
vi_part2)
- Tutorial for Emacs
- Those who cannot log in to machines of MSEE190 (msee190pc1 ~ msee190pc20)
- Your password may be expired. Try after you change your password.
- You need to solve your login problem with esite@ecn.purdue.edu
In the meantime, compile and run your program on min.ecn.purdue.edu or shay.ecn.purdue.edu
However, before submission, you should check your program on MSEE190 machines.
- Homework1 and Sample Input File posted. (See Homeworks)
- New Testcases for Homework 1
- Testcases have been fixed and are up. (See Homeworks)
- Clarifications/Tips regarding HW1
- Internet Explorer automatically inserts .txt extension to the sample file "ints" when you download it.
Your program should read the input file named "ints" and print out your results to the screen.
- The sorted list should not include duplicated entries.
45 appears only once in the sorted output of the sample file "ints".
- Please follow the output format strictly.
The number of digits should appear after one space. Do not use tab or many spaces.
- Please do not use special options when you compile your program. (Please see number 4 in General)
- To read one character
char c; fscanf(pf,"%c",&c);
- To read strings
char s[100]; fscanf(pf,"%s",s);
- Homework 2 and Sample input have been posted .(See Homeworks)
- Instead of typing in inputs manually, you can execute your program "a.out < hw2in.txt"
- hw2out.txt is the correct result on the screen.
- Homework 2 testcases have been posted .(See Homeworks)
- Clarifications/Tips regarding HW2
- Please download the sample input and test cases again to avoid unexpected errors(Sep. 29)
- You can assume that the maximum number of dishes is 200.
- To get full scores, your results should be exactly matched to the correct answers.
You can save your results on the screen to a file "a.out < hw2in.txt > yourout.txt"
Please check if they are equal "diff hw2out.txt yourout.txt"
- Regarding inputs and outputs
Added dishes (Dishes already in a menu list) will not be added again.
Recipe numbers are distinct. (Two different dishes always have diffrent recipe numbers.)
All inputs are correct. (For example, 0.5 will not be used as a rating value.)
All inputs are in the correct format.
There exists only one error message for the commands RATE and FIND. (~~~~ does not exist in menu)
- Important Points to Remember:
- STRICT ADHERENCE TO THE SUBMISSION GUIDELINES IS REQUIRED. If you do not name your attached file properly or use a different subject line than the one
specified in Submission Guidelines, the e-mail may be filtered as junk mail. Your homework may not be graded.
- Please try to avoid RESUBMISSION of homeworks as much as possible.
Submit only after you have verified your program thoroughly. IN CASE OF RESUBMISSION ONLY THE LATEST VERSION OF THE PROGRAM WILL BE GRADED.
- Many students did not follow the submission guidelines for homework 1
- Some did not use Purdue email so their homeworks went to Trash folder.
- Some emails were not in a correct folder for grading because their subject was not '[ECE264] HW1 submission'.
- Some did not use a correct name for the attached source code.
- From homework2, if you do not follow the guidelines, it is not guranteed that your homework will be graded.
You will be responsible for all the consequences from it.
- Please find out HW1 grades during TA office hours
- Grade review requests for HW1 will be accepted ONLY from Oct. 7 to Oct. 23
- Homeworks 3, 4 and 5 have been posted .(See Homeworks)
- Fix for Homework 3 Testcases.
- The output for testcase 3 has been updated and is available for download (Oct. 20).
- Clarifications/Tips regarding HW3
- "The" should come before "Tuesday" in the pdf handout. The corrected pdf was uploaded (Oct. 17). (See Homeworks)
- Exam 1 has been graded. (See Solution)
- Students can find out their grades and pick up their exams during Professor Pomeranz' regular office hours or the following additional times:
Tue, Oct 20, 4:15-5pm
Thu, Oct 22, 3-4:30pm
- The following lectures are cancelled: Tue, Nov 10
- The following office hours are cancelled: Tue, Nov 10, 8:30-10am, 3-4pm
- The following TA office hours are cancelled: Tue, Nov 17, 2-3pm
- Homework 2 grades are available. Come by TA office hours to learn your grade. You have until November 9th to request regrades.
- Please check your HW3 grades until November 19th during TA office hours.
- Homework 4 Testcases have been uploaded.(See Homeworks)
- Clarifications/Tips regarding HW4
- Please name your output file as "outputfile".
- Input file names for the program should not be retrieved as command line arguments.
Note that the number of files is not known ahead of time, and it is not given as input or through command line arguments.
You need to find a way to create the file names and figure out how many files there are.
Use the fact that file names contain consecutive numbers.
- As described in the handout, at any given time, you should be able to access "only one line in an input file".
It is not allowed to save any other lines in arrays or variables of your program.
- The number of input files can be several hundreds or thousands.
sprintf() can help you to process file names.