CSC 2520 Data Structures and Applications Tutorial One

  • Slides: 19
Download presentation
CSC 2520 Data Structures and Applications Tutorial One Denny Spring 2004 / CUHK 1

CSC 2520 Data Structures and Applications Tutorial One Denny Spring 2004 / CUHK 1

Information Course Homepage http: //www. cse. cuhk. edu. hk/~csc 2520 Course Newsgroup cuhk. cse.

Information Course Homepage http: //www. cse. cuhk. edu. hk/~csc 2520 Course Newsgroup cuhk. cse. csc 2520 Tutorial To be discussed Tutors Email Office Tel 1005 26098422 jyzheng@cse. cuhk. edu. hk 1026 26098438 Spencer sklfung@cse. cuhk. edu. hk Denny 2

Assessment Scheme Final Examination 40% Assignments 40% Quizzes 20% There are both written and

Assessment Scheme Final Examination 40% Assignments 40% Quizzes 20% There are both written and programming questions in the assignments. Copying in assignments, examinations or quizzes lead to straight failure. 3

Assignments Microsoft Visual C++® 6. 0 Your assignments will only be tested and graded

Assignments Microsoft Visual C++® 6. 0 Your assignments will only be tested and graded on this platform Late submission penalty To be announced later Plagiarism will be reported to the Department Discipline Committee 4

Quizzes Quiz 1 February 23 (Monday) 10% Quiz 2 March 29 (Monday) 10% 5

Quizzes Quiz 1 February 23 (Monday) 10% Quiz 2 March 29 (Monday) 10% 5

Miscellaneous Simple programming concept Edit w Type the source code of the program (.

Miscellaneous Simple programming concept Edit w Type the source code of the program (. c files) Compile w Convert the source code into machine code (generate the. exe file) Execution w Tell the computer to run our program (execute the. exe file) 6

Visual C++ 6. 0 7

Visual C++ 6. 0 7

Visual C++ 6. 0 8

Visual C++ 6. 0 8

Visual C++ 6. 0 9

Visual C++ 6. 0 9

Visual C++ 6. 0 10

Visual C++ 6. 0 10

Visual C++ 6. 0 11

Visual C++ 6. 0 11

Visual C++ 6. 0 Compile Warning and error messages if any 12

Visual C++ 6. 0 Compile Warning and error messages if any 12

Visual C++ 6. 0 Build Warning and error messages if any 13

Visual C++ 6. 0 Build Warning and error messages if any 13

Visual C++ 6. 0 Execute . exe file is located in the “Debug” directory

Visual C++ 6. 0 Execute . exe file is located in the “Debug” directory 14

Visual C++ 6. 0 Shortcut – ctrl+F 5 15

Visual C++ 6. 0 Shortcut – ctrl+F 5 15

Visual C++ 6. 0 16

Visual C++ 6. 0 16

Visual C++ 6. 0 Known bugs of Visual C++ 6. 0 Scanf() a number

Visual C++ 6. 0 Known bugs of Visual C++ 6. 0 Scanf() a number into an uninitialized float/double variable 17

Visual C++ 6. 0 Submit. c files only 18

Visual C++ 6. 0 Submit. c files only 18

Visual C++ 6. 0 You can send you. exe in “Debug” folder to classmates,

Visual C++ 6. 0 You can send you. exe in “Debug” folder to classmates, but DON’T disclose your. c files Plagiarism will be reported to the Department Discipline Committee 19