1 / 12

Programming

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.

nasia
Download Presentation

Programming

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Programming The Development Environmentand Your First C Program

  2. 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.

  3. 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

  4. Grades • Assignments: 20% • Exam: 80%

  5. 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

  6. 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

  7. 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

  8. Using Microsoft Visual Studio • At home: Using_Visual_C++_Express_Edition.pdf • At the labs: Visual_C++_6.0.pdf

  9. (Free) Visual Studio Express • Free work environment • Can be used from home • Download and usage details can be found here

  10. 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; }

  11. 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”);

  12. Home Work #0 (in class) • Download hw0 from the moodle site • Solve it • Submit c files to the moodle site

More Related