1 / 13

Introduction Version 1.1

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.

lyle
Download Presentation

Introduction Version 1.1

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. IntroductionVersion 1.1

  2. 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

  3. 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

  4. Course Materials • ftp://cseftp.tc.uvu.edu/cns/fairclde/cs1410 • Syllabus • Slides • Example Programs • Exam • Response XR • etc.

  5. RAD Studio C++ • www.embarcadero.com • Free Trial RAD Studio 2010

  6. Response XR • http://student.turningtechnologies.com • Registration Page • Purchase Response XR Unit • UVU Bookstore • Enter Data • Answer Questions

  7. 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

  8. 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

  9. C++ Concepts • Driver Functions • Program Design with classes/functions • Program Testing/Verification/Debugging • IDE

  10. 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

  11. Console Application - Demo • Provides .ccp file • Must add .h file • Demo

  12. 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

  13. .DLL Application • No main( ) • One or more entry point functions • Requires loading before calling entry point function(s) • Should unload after use

More Related