This preview shows page 1-2-3-4-5-6-7-8-9-10-11-12-13-14-97-98-99-100-101-102-103-104-105-106-107-108-109-110-196-197-198-199-200-201-202-203-204-205-206-207-208-209 out of 209 pages.
NextFinal ReportErnesto Arreguin (eja2124)Danny Park (dsp2120)Morgan Ulinski (mu2189)Xiaowei Zhang (xz2242)1Contents1 Introduction 31.1 Language Elements . . . . . . . . . . . . . . . . . . . . . . . . 42 Language Tutorial 52.1 Tutorial 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52.2 Compiling and Running a Nex t P ro g ra m . . . . . . . . . . . . 72.3 Tutorial 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83 Language Manual 133.1 Lexicon . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133.1.1 Character Set . . . . . . . . . . . . . . . . . . . . . . . 133.1.2 Identifiers . . . . . . . . . . . . . . . . . . . . . . . . . 133.1.3 Comments . . . . . . . . . . . . . . . . . . . . . . . . . 143.1.4 Keywords . . . . . . . . . . . . . . . . . . . . . . . . . 143.1.5 Operators . . . . . . . . . . . . . . . . . . . . . . . . . 153.1.6 Punctuators . . . . . . . . . . . . . . . . . . . . . . . . 153.1.7 String and integer literals . . . . . . . . . . . . . . . . 153.2 Basic Concepts . . . . . . . . . . . . . . . . . . . . . . . . . . 163.2.1 Blocks and Compound Statements . . . . . . . . . . . 163.2.2 Scope . . . . . . . . . . . . . . . . . . . . . . . . . . . 173.3 Side Effects and Sequence Points . . . . . . . . . . . . . . . . 173.4 Data Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173.5 Declarations . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183.5.1 Primitive Types . . . . . . . . . . . . . . . . . . . . . . 183.5.2 Complex Types . . . . . . . . . . . . . . . . . . . . . . 183.6 Expressions and Operators . . . . . . . . . . . . . . . . . . . . 193.6.1 Primary Expressions . . . . . . . . . . . . . . . . . . . 193.6.2 Overview of the Next Operators . . . . . . . . . . . . . 203.6.3 Unary Operators . . . . . . . . . . . . . . . . . . . . . 213.6.4 Binary Operators . . . . . . . . . . . . . . . . . . . . . 233.6.5 Assignment Operator . . . . . . . . . . . . . . . . . . . 253.7 Statements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 263.7.1 Labeled Statements . . . . . . . . . . . . . . . . . . . . 263.7.2 Compound Statements . . . . . . . . . . . . . . . . . . 263.7.3 Expression Statements . . . . . . . . . . . . . . . . . . 263.7.4 Selection Statements . . . . . . . . . . . . . . . . . . . 2723.7.5 Gameplay Statements . . . . . . . . . . . . . . . . . . 293.8 Start Statements . . . . . . . . . . . . . . . . . . . . . . . . . 303.9 Example Program . . . . . . . . . . . . . . . . . . . . . . . . . 314 Project Plan 324.1 Process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 324.2 Programming Style Guide . . . . . . . . . . . . . . . . . . . . 334.2.1 Width of the page . . . . . . . . . . . . . . . . . . . . 334.2.2 Height of the page . . . . . . . . . . . . . . . . . . . . 334.2.3 Using tab stops . . . . . . . . . . . . . . . . . . . . . . 334.2.4 Comments . . . . . . . . . . . . . . . . . . . . . . . . 334.2.5 Indentation . . . . . . . . . . . . . . . . . . . . . . . . 334.3 Project timeline . . . . . . . . . . . . . . . . . . . . . . . . . . 344.4 Roles and Responsibilities . . . . . . . . . . . . . . . . . . . . 344.5 Software Development Environment . . . . . . . . . . . . . . . 355 Architectural Design 355.1 Architecture Block Diagram . . . . . . . . . . . . . . . . . . . 355.2 Interfaces Description . . . . . . . . . . . . . . . . . . . . . . . 376TestPlan 377 Lessons Learned 397.1 Ernesto …
View Full Document