CSC161 2010F, Class 11: The Command Line, Continued Overview: * Lab. Admin: * Are there questions on assignment 3? * Readings for Tomorrow: A Tutorial on Binary Numbers and K&R 2.6 and 6.9. * I had a question about my approach to grading. How Sam Grades * Check "Yeah, it looks good; maybe a few small problems" * Check plus: Went beyond the norm * Plus: Exceptional * Check minus: "Well ... there are more errors than I'd like" * Minus: "Wow, there are a lot of errors here; perhaps the person did not understand the assignment" * Zero: "Didn't turn it in". "So bad that they should not have turned it in." How does this all turn into letter grades? * You shouldn't care. You should care about what you've done well and what you've done poorly, and I try to comment on it * I like the 4 point scale Check - 3 Check Plus - 4.5 Plus - 5.5 Check mninus -2 Minus - 1 Zero - 0 * 3,8 and above: A * 3.45 to 3.8 A- * 3.2 to 3.45 B+ * 2.8 to 3.2 B How do I use atoi? int n; n = atoi (argv[1]); How do I figure out if an argument looks like an integer? * Um ... let me think about that. * Learn a lot of C (or at least about pointers) and then use strtol