120 likes | 227 Views
Programming. The Development Environment and Your First C Program. Administration. Teaching assistant: Yehudit Meir-Hasson e-mail: yehudit6@post.tau.ac.il Office hours: Tuesday, 14:00-15:00, Shrayber Building, floor -1, room מ19 , scheduled via email. Web Site – Moodle.
E N D
Programming The Development Environmentand Your First C Program
Administration • Teaching assistant: Yehudit Meir-Hasson • e-mail:yehudit6@post.tau.ac.il • Office hours: Tuesday, 14:00-15:00, Shrayber Building, floor -1, room מ19, scheduled via email.
Web Site – Moodle • Contact information • Announcements • All relevant material (homework, solutions, code examples, slides, etc…) • Homework submission, grades • Q&A • http://moodle.tau.ac.il
Grades • Assignments: 20% • Exam: 80%
Homework • 6-8 homework assignments • Programming assignment • Each assignment is due in one week • 20% of final grade • Computer lab 06, open: 8:00 – 20:00, use email/disk-on-key
Submission Guidelines • Submission in singles! • Submission of C source code via course moodle site • Extensions • Should work on Microsoft Dev Studio • No cheating! • Pay careful attention to the guidelines: submission_guidelines.pdf
Submitted File Names • The names of your submitted code files must begin with your full ID Number, all 9 digits ! • Follow this example: 123456789_a1_q1.c • From left to right: 9 digits ID + _assignment + _question
Using Microsoft Visual Studio • At home: Using_Visual_C++_Express_Edition.pdf • At the labs: Visual_C++_6.0.pdf
(Free) Visual Studio Express • Free work environment • Can be used from home • Download and usage details can be found here
A Simple Example /* This program prints a student’s name on the screen in two lines. */ #include <stdio.h> int main() { printf(“Itzik\nCohen\n”); return 0; }
Printing… • In general we print with printf: • printf (“…”); • printf (“%d”,7); • Special characters: • \n: prints new line (printf (“end\n”);) • \t: prints tab (printf(“Itsik\tCohen\n”;) • \\: prints ‘\’ (printf(“Now\\Tomorrow\n”); • \”: prints ‘ “ ‘ (printf(“He said \”No!\”\n”);
Home Work #0 (in class) • Download hw0 from the moodle site • Solve it • Submit c files to the moodle site