home *** CD-ROM | disk | FTP | other *** search
- C++ Quiz
-
- Instructions
-
- GETTING STARTED
-
- To run from the floppy disk:
-
- Log on to your floppy disk drive by typing A:
- Type CPPQUIZ
-
- To run from the C: drive:
-
- Log on to your floppy disk drive by typing A:
- Type INSTALL C: (this creates the directory C:\CPPQ)
- Log on to your hard drive by typing C:
- Change directory by typing CD \CPPQ
- Type CPPQUIZ
-
- ABOUT C++ QUIZ
-
- C++ QUIZ contains hundreds of questions to test and improve your
- knowledge of the most important object-oriented programming language. It is
- not a complete instruction course but is intended to supplement other
- learning material and practical experience.
- The quiz has four stages of increasing difficulty. In each stage you are
- asked fifteen multiple choice questions. Answer questions right to win the
- bonus and get extra points. The timer on the left of the screen gives you
- ten seconds to choose the right answer. You start with three lives and lose
- a life when you get two questions wrong. When all your lives are lost your
- score will be put on the high score board if it is one of the best scores.
- You can use the keyboard or the mouse to play the quiz and enter your
- high scores. Use the arrow keys, return and escape; or move the mouse,
- click the left button for return, or click the right button for escape.
-
- ABOUT C++
-
- The name C++ (pronounced C plus plus) was coined in 1983. Bjarne
- Stroustrup designed the language to be a successor to the C programming
- language and it is broadly upwardly compatible with C. C++ is designed to
- support object-oriented programming with emphasis on the production of
- libraries of user-defined types.
- The central concept in C++ is the user-defined type which in C++
- terminology is called a class. Using classes you can create types that are
- more useful to you than the built-in types. For example if the numbers do
- not have sufficient precision you can create a class that holds numbers with
- as many digits as you like. Variables of this new type can take part in
- normal arithmetic expressions, can be passed as parameters and can be
- automatically converted to built-in types.
- Classes are intended to be re-used in other programs. Re-use of code and
- data structures is not a new idea - functions, include files, libraries and
- other methods all help to reap the benefits of re-use. Re-using a class in
- a new program reduces development/ maintenance costs and time scales. C++
- takes the concept of re-use further than previous languages and provides it
- with more support. It gives the programmer access to powerful language
- features (like type-checking, automatic type-conversion and
- object-orientation).
-
-
- The re-use of a class has several benefits -
- 1. the class has already been tested so the new program will be more reliable
- 2. the new program can be developed more quickly because existing work
- can be incorporated
- 3. any changes to the class will not have to be duplicated for all the
- programs using the class - a recompilation will bring the programs
- up-to-date.
-
- This software is published by
- Millstream Software, Fromehall Mill, Lodgemore Lane, Stroud, Glos GL5 3EH.
- internet: 100410.1661@compuserve.com
-
- This is the full version of C++ Quiz. If you have found this software
- useful please send a cheque for four pounds to Millstream Software.
-
- We welcome all comments, criticisms or suggestions about any aspect of the
- product. Please write to us with your ideas. You may influence our future
- product developments.
-
-