130 likes | 319 Views
Introduction Version 1.1. Topics. Course Content on FTP site Response XR - Clickers RAD Studio C++ Builder Review of C++ from CS1400 Object-Oriented Programming OOP Object-Oriented Analysis OOA Object-Oriented Design OOD Graphical User Interface. Objectives.
E N D
Topics Course Content on FTP site Response XR - Clickers RAD Studio C++ Builder Review of C++ from CS1400 Object-Oriented Programming OOP Object-Oriented Analysis OOA Object-Oriented Design OOD Graphical User Interface
Objectives After completing this topic, students should be able to: Know how to find course material on FTP site Know about quizzes at beginning of every class with Clickers Know where to obtain and download RAD Studio C++ Builder Correctly 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 program Know 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.com • Registration Page • Purchase Response XR Unit • UVU Bookstore • Enter Data • Answer 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++ Concepts • Conditionals – if/if-else/switch • Loops – while/do-while/for • Arrays • File I/O (Text) • Class – Blueprint • Object – Instance of a class • Object-Oriented Program • Objects sending messages to one another via? • Purpose of .h files • Purpose of .cpp files • Program Flow
C++ Concepts • Driver Functions • Program Design with classes/functions • Program Testing/Verification/Debugging • IDE
Example Program in C++ Builder • DelphiDistiller – ctl+alt+L • RAD 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 file • Must add .h file • Demo
VCL Form Application - Demo • Provides multiple .cpp/.h/other files • Strings are NOT C-Strings, STL-Strings; but AnsiStrings • AnsiString (class) • Pointer to a C-String • Character 0 = undefined • Why? Based on Pascal String
.DLL Application • No main( ) • One or more entry point functions • Requires loading before calling entry point function(s) • Should unload after use