If you're here, you're probably a student in section 0201 or 0501 of CS 240.
We will be doing lab evaluations today so, please bring a pencil. Also, there will be a (very short) intro to C++ lab.
Lab 14 and 15 grades will be available on WebCT soon, please contact me ASAP if there are any questions regarding your labs.
Good luck on the final and enjoy your summer. : )
NOTICE: if you had issues opening files from relative directory paths in project 5, I *strongly* suggest you review your code with the testcases posted on the newsgroup, and contact me when you're sure that everything works. Trivial issues such as these will NOT be penalized in the regrade.
Added links to old labs for review purposes.
Grades for project 5 have been emailed to the groups. If you have not recieved an email, contact me ASAP.
Regrade requests will be accepted until 04.23.05.
An updated spec for lab12 is available here.
WARNING: ANY LAB SUBMITTED AFTER THE DESIGNATED LAB HOURS WILL RECEIVE A ZERO. NO EXCEPTIONS WILL BE MADE.
Added links to reference cards for Emacs, Xemacs and GDB in the resources section.
To convert a digit to it's corresponding character representation do:
if (digit <= 9) charval = '0' + digit;
else charval = 'A' + (digit - 10);
A demonstration of how to use the pow function is available here.
For lab 4, an example main function to parse 2 command line arguments is available here.
The solution to lab 3 is available here. Also, bit shifting review information is available here.
I have made minor changes to my office hours as I now have meetings on Monday and Tuesday that may overlap my previous office hours. Please make a note of it if you intend to stop by.
Some helpful unix commands (use with care!):
mv [src file] [dst file] : renames "src file" to "dst file"
mv [src file] [directory] : moves "src file into" "directory"
chmod +x [src file] : makes "src file" executable
rm -rf [directory] : removes "directory" and all files in it
MON 02:00PM-03:00PM: OFFICE PHYS 011 WED 02:00PM-03:00PM: OFFICE PHYS 011 03:30PM-05:20PM: CS 240 0501 PHYS 008 THU 11:30PM-01:20PM: CS 240 0201 PHYS 008 03:15PM-04:15PM: OFFICE PHYS 010
Spec Imp Test Grade -- ----- ----- ----- ----- P1 Amit Ryan Yang Brian P2 Ryan Yang Brian Amit P3 Yang Brian Amit Ryan P4 Brian Amit Ryan Yang P5 Amit Ryan Yang Brian P6 Ryan Yang Brian Amit
Unix tutorial
An Introduction to Makefiles
Course newsgroup
Coding standards
Lecture demos
How to de-180 your shell
Reference cards for:
Emacs
Xemacs
GDB