1130tutorial6

1130tutorial6 - 1 CSC1130 Introduction to Computer...

Info iconThis preview shows pages 1–10. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 1 CSC1130 Introduction to Computer Programming Tutorial Notes 6 2 Outline Remarks on Asg2 Debugging Assignment 4 Checkers Game 3 Remarks On Asg2 4 Remarks On Asg2 Poor Indentation Codes in the classes and methods should be indented. Use tab to indent. Dont use space ! VIM is powerful in handling indentations class A { // this is a class private int a; public A() { a = 0; } public void method() { a++; } } class A { // this is a class private int a; public A() { a = 0; } public void method() { a++; } } :set ts=2 1G=G 5 Remarks On Asg2 Corrupted zip files / No submission You should compress the file as follows: Then you should submit the files by the following command in one line : If you cannot receive acknowledgement after a few minutes, or the acknowledgement contains no attachment, you can submit it again. We do not deduct mark in this case. 6 Remarks On Asg2 Line exceeds 80 characters Dont write the code and the comment into one line If the comment is too long, split the line and surround the lines with /* */ No Comment You should add some meaningful comments to describe what you are doing. 7 Remarks On Asg2 If you have any question about your marks, feel free to contact us : Mario (Room 1005) klleung@cse.cuhk.edu.hk Applex (Room 905) jnchen@cse.cuhk.edu.hk 8 Debugging 9 Debugging Debugging is a process that modifies your program so that the program can behave correctly....
View Full Document

Page1 / 34

1130tutorial6 - 1 CSC1130 Introduction to Computer...

This preview shows document pages 1 - 10. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online