CS2_13_Editing_Compiling_Running

CS2_13_Editing_Compiling_Running - – JCreator Compiling...

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

View Full Document Right Arrow Icon
CS2 Module 13 Category: Elements of Java Topic: Editing, Compiling, Running Objectives Contains hints and common mistakes Should also be demos
Background image of page 1

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

View Full DocumentRight Arrow Icon
CS 2 Introduction to Object Oriented Programming Module 13 Elements of Java Editing, Compiling, Running
Background image of page 2
Editing Take advantage of tools Code, compile, test incrementally Document before and as you code Syntax highlighting Walk code before compiling Open a brace, close a brace, now fill it in?
Background image of page 3

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

View Full DocumentRight Arrow Icon
Compiling Fix errors in order Making error messages visible An operating system which allows for a large screen buffer. emacs
Background image of page 4
Background image of page 5

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

View Full DocumentRight Arrow Icon
Background image of page 6
Background image of page 7

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

View Full DocumentRight Arrow Icon
Background image of page 8
Background image of page 9
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: – JCreator Compiling • Typical errors – Missing braces/parens/semicolons – Multiple declarations – Return value mismatch – = vs == • Do not code sloppily and then fix it with the help of your friend the compiler • The compiler is not really your friend • More a business associate Running • Must start with class containing main • java hello NOT java hello.class • Error messages are actually helpful!!! – Read error message carefully • Java is not broken! • Debuging is partly psychological! Demos Questions?...
View Full Document

This note was uploaded on 01/23/2012 for the course CS 1371 taught by Professor Stallworth during the Fall '08 term at Georgia Tech.

Page1 / 9

CS2_13_Editing_Compiling_Running - – JCreator Compiling...

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

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