
Exception handlers hierarchy
It’s handy to catch potential exceptions in a bottom-down hierarchy: specific exceptions are handled first, then groups of exceptions and finally, a catch-all handler: #include //std::except is the base class

It’s handy to catch potential exceptions in a bottom-down hierarchy: specific exceptions are handled first, then groups of exceptions and finally, a catch-all handler: #include //std::except is the base class

Often, when adding Crystal reports to your system, you’ll find that userswant the same basic report grouped different ways, like sales reports bycustomer state or salesman or region, and so

Question: I am writing a CGI program to query an SQL database for a client’s information. I will then create a Microsoft Access database from this querry to pass to

Question: How do you create or access arithmetic functions like INT, MOD, or SQRT for use in Microsoft SQL Server? Answer: SQL Server supports math functions including SQRT, CEIL, FLOOR,

Question: How can I create an index in descending order? How can I order data in descending order with “Order By”? I’m using MS SQL Server 6.5. Answer: When you

Question: I have a table with three columns. The first, an integer type, is the primary key that is automatically increased by one every time a new row is inserted.

Question: Is the following notification error an NT or an Oracle problem? nt.stp(633): permission_denied while copying key softwareoracleoracle_homes How how can I fix it? Answer: This sounds like a NT

Question: How does Windows know the default browser settings? Answer: I can think of two possible answers to the question. If you are asking how IE knows whether or not

Question: I am trying to use the CreateProcessAsUser API function. If I put the declaration found in the win32api.txt, the program responds, “Can’t found DLL entry point” (Lib kernel32 function

Question: I have 130 users on my Novell side and I want them to be able to use all of the printer on my NT side. How can I authenticate

Question: I have two hard drives. I have 95 on C and want to install NT on E. I have 1.99 gig on D and E Free. I would like

Question: I would like to be able to gain access to NT server local groups for enum, member enum, add member, delete member. We have a lot of servers as

Question: Can I check if the user running the application has either local machine or domain administrative privileges? I have a piece of code which does this in C++ ,

Question: Is there a fixed limit on the number of files or folders that an NTFS or FAT directory may contain? Is there a practical limit on the number of

Question: Hi, I set up a web project using Microsoft Personal Web Server using InterDev 1.0 on my Windows 95 computer and now I can not delete the Websharedirectory! When

Question: I was wondering how Visual InterDev communicates with the server to publish the information there. I’m pretty sure it uses some form of TCP/IP, but was wondering what protocol

Configuration management tools (for example, PVCS, Visual SourceSafe) are not just for source code. Use your configuration management tool for storing design documents, prototypes, incremental builds, test scripts, and important

The Standard C++ keywords are: asm auto bool break case catch char class const const_cast continue default delete do double dynamic_cast else enum explicit export extern false float for friend

A namespace is a scope in which declarations and definitions are grouped together. In order to refer to any of these from another scope, a full qualified name is required.

C++ has been around for more than 15 years. During that long period it has been significantly extended, improved, and standardized. One of the consequences of any standardization process is

In standard C++ built-in types such as char, int and float can be initialized like any ordinary user-defined type: char *pc = new char(‘a’); int pi= new int(10); float pf

All Standard C++ header files must be included in the following way: #include //note: no “.h” extension#include//…other #include statements That is, the “.h” extension should not be used. This technique

Question: I am trying to create a program that will log HTML color schemes to a file, and I can’t get C++ to count in hex. I looked in the

Question: I’m working with large multidimensional dataset (> 10 dimensions and > 100,000 points). One particular problem I have is the use of virtual memory (for example, via new). When

Question: I have taken two semesters of C++ and feel pretty confident about the whole OOP aspect of things. I have a good understanding of all the fundamentals of C++.

Question: What is a macro? What is the difference between macros and functions? How do you invoke a macro? Please give an example of code. Answer: A macro is simply

Question: What is an “lvalue”? How does it relate to “rvalue”? Answer: An lvalue is simply a value on the left side of an expression, and an rvalue is a

Question: Is there a way to make a window like the Stay on Top window, but make it stay behind? For example, if you click on the desktop it does

Question: I am thinking of learning C++, and I have not yet looked into it. Why would one choose to code in C++ instead of any other language? What is

Question: I have been doing VB since 1.0, and Frontpage since 1.1, however VID’s IDE has me mystified. What book would you recomend. I am at a total loss.Syd Answer: