introduction version 1.1. topics course content on ftp site response xr - clickers rad studio c++...

13
Introduction Version 1.1

Upload: roy-thompson

Post on 27-Dec-2015

216 views

Category:

Documents


0 download

TRANSCRIPT

IntroductionVersion 1.1

Topics

Course Content on FTP siteResponse XR - ClickersRAD Studio C++ BuilderReview of C++ from CS1400Object-Oriented Programming OOPObject-Oriented Analysis OOAObject-Oriented Design OODGraphical User Interface

Objectives

After completing this topic, students should be able to:

Know how to find course material on FTP siteKnow about quizzes at beginning of every class with ClickersKnow where to obtain and download RAD Studio C++ BuilderCorrectly design and use the concepts of C++ from CS1400* Know how to correctly use and write functions* know how to correctly use classes and objects* Know how to correctly use .h and .cpp files in a programKnow what OOP, OOA, OOD are

Course Materials

ftp://cseftp.tc.uvu.edu/cns/fairclde/cs1410– Syllabus– Slides– Example Programs– Exam– Response XR– etc.

RAD Studio C++

www.embarcadero.com Free Trial RAD Studio 2010

Response XR

http://student.turningtechnologies.comRegistration PagePurchase Response XR Unit

– UVU BookstoreEnter DataAnswer Questions

C++ Concepts Datatypes

– int, unsigned int, double, char, etc. Objects

– cin, cout, string, etc. Operators

– =, +, -, %, / int, / float, *, +=, ++, --, etc. Expressions

– Return in place of themselves a typed value Functions

– Prototype– Implemenation – Service– Call or Invocation– Parameters/Overloading/Overriding

C++ ConceptsConditionals – if/if-else/switchLoops – while/do-while/forArraysFile I/O (Text)Class – BlueprintObject – Instance of a classObject-Oriented Program

– Objects sending messages to one another via?Purpose of .h filesPurpose of .cpp filesProgram Flow

C++ ConceptsDriver FunctionsProgram Design with classes/functionsProgram Testing/Verification/DebuggingIDE

Example Program in C++ Builder

DelphiDistiller – ctl+alt+LRAD Studio C++ Builder is an industrial

strength Integrated Development Environment (IDE)

Project Types– Console Applications– VCL Forms Applications– .DLL Applications– Others

Console Application - Demo

Provides .ccp fileMust add .h fileDemo

VCL Form Application - Demo

Provides multiple .cpp/.h/other filesStrings are NOT C-Strings, STL-Strings;

but AnsiStringsAnsiString (class)

– Pointer to a C-String– Character 0 = undefined– Why? Based on Pascal String

.DLL Application

No main( )One or more entry point functionsRequires loading before calling entry point

function(s)Should unload after use