Download presentation
Presentation is loading. Please wait.
Published byRoland Ross Modified over 6 years ago
1
The Development Environment and Your First C Program
Programming The Development Environment and Your First C Program
2
Administration Teaching assistant: Yehudit Meir-Hasson
Office hours: Tuesday, 14:00-15:00, Shrayber Building, floor -1, room מ19, scheduled via .
3
Web Site – Moodle Contact information Announcements All relevant material (homework, solutions, code examples, slides, etc…) Homework submission, grades Q&A
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 /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: _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: Special characters:
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
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.