digg.png delicious.png blinkit.png furl.png
FAQ: C++ How to Program (All Editions)
Table of Contents
  1. I am having trouble compiling/running the polymorphism examples in Visual C++ 6.
  2. I am trying to run the examples (or exercises) for Chapter 16 of C++HTP4, but they do not seem to work when I create them with the Visual C++ 6 Introductory Edition. What is wrong?
  3. I lost my user's guide for the C & C++ MULTIMEDIA CYBER CLASSROOM (first edition). What is the registration number?
  4. Exercise 5.22 on page 352: Why do I get a compiler error on line 21?
  5. I have been reading your book, C++ How to Program and I have a couple of questions. Can C++ be used to make any kind of software application? Can C++ be used to make web applications?
I am having trouble compiling/running the polymorphism examples in Visual C++ 6.

You might not have configured the RTTI settings in your IDE, as explained in the text.

For Visual C++ 6:

Equivalent instructions for Visual Studio .NET:

I am trying to run the examples (or exercises) for Chapter 16, but they do not seem to work when I create them with the Visual C++ 6 Introductory Edition. What is wrong?

You cannot use Visual C++ 6 Introductory Edition to create CGI applications, because of the dialog that is inserted into every application. You will need to use one of the other compilers mentioned in the preface.

I lost my user's guide for the C & C++ MULTIMEDIA CYBER CLASSROOM (first edition). What is the registration number?

06-0-01-01-4-016E6-DF6A9C

Be sure to enter this registration number EXACTLY as shown above.

Exercise 5.22 on page 352: Why do I get a compiler error on line 21?

The declaration int x in the for loop is scoped to the body of the for loop according to the new C++ standard. Thus, the variable does not exist when the compiler reaches line 21. To fix the error, declare variable x before the loop.

I have been reading your book, C++ How to Program and I have a couple of questions. Can C++ be used to make any kind of software application? Can C++ be used to make web applications?

C++ is one of the most flexible programming languages in existence today. Virtually any type of program can be created using C++. C++ can indeed be used to create Web applications. CGI scripts, ISAPI and ATL Server all use C++. ISAPI and ATL Server are Microsoft technologies.