Iostream Objects’ Memory Use
Question: I have written this very small program in Microsoft Visual C++ and it seems that STL is dumping memory: #include #include using namespace std ;void main(){ _CrtDumpMemoryLeaks( );} The
Question: I have written this very small program in Microsoft Visual C++ and it seems that STL is dumping memory: #include #include using namespace std ;void main(){ _CrtDumpMemoryLeaks( );} The
Question: My small program (see below) below compiles and runs correctly on one machine and generates the following error on another: ‘operator
Question: I recently modified the following under my application’s class libraries… app_aboutboxapp_splash I rebuilt the project and executable, but when I run my application, text and images from both the
Question: I’m wondering whether there is any good replacement for Java’s “finally” keyword (that executes regardless of whether an exception is thrown a keyword) in C++. I’m trying to switch
Question: I have set Home as C:MyApp in Project Information. VFP has no problem finding the project, but when I do a build and, while running, click a link to
Question: I am having trouble getting an ASP page to look the same in Internet Explorer and Netscape. I am using multiple tables because I have different sections to place
Question: What is the best way to go about simulating a PDA (personal digital assistant) in a Web page? I want to simulate a change of menu many times. Can
Question: Can I find the text on an HTML page from another window (where the find option is available)? Answer: If you are using Netscape Navigator 4+, you can use
Question: I want to create a consistent look and feel to my site. Without using frames, how do I apply a template to all my Web pages that will include
Question: We have a legacy database system called Universe, which is owned by Ardent Software. Ardent offers a product called uvObjects which is a single-threaded DLL that can be loaded
An overlooked feature in FrontPage 2000 is the one-click tool to add a nice bevel to your graphics. A bevel makes the image stand out from the page and adds
You can make your site easier to find by adding keywords to your HTML pages. Some of the major search engines look for keywords to index your content. FrontPage 2000
Question: What is the location of the users’ mail boxes so I can back them up to a tape? Also, where are the Internet e-mail tracking log files stored? Answer:
Question: Which implementation works faster, ADO or ODBC? Is there any relevant information (or benchmarks) comparing the difference between linking directly to the ODBC or accessing databases through the ADO
Question: I have department codes like this: T, B, P, O, Q, etc. How can I find T only, B only, or others only (excluding T and B)? Answer: You
Question: How do you clean up old database and transaction log dumps without removing the backup device? I cannot find a way to delete a single instance of either. Answer:
Question: When I start a timer on a window with an interval of one second, I expect to get a timer event on the window every second. I have noticed
Question: Recently, we had a server die on us with bad backups. We have installed a new server and have reestablished all the mailboxes. I have one mailbox that is
Question: Using GETDATE returns the time portion of the date in the 12-hour clock form (“08:30pm”). I need the time portion to be in 24-hour clock form (“20:30”). I can’t
Question: I have a datawindow that will be called by two functions. The first function only uses the first retrieval argument; the second function uses all three arguments. In the
Question: I have a column that is set to Autosize Height. I would like to find the column height for this column on each row after the data has been
Question: I am setting up a new post office SYS. We have five sites over the United Kingdom. Is Exchange the right product to use? We would require replication of
The left-most listbox in the first page in the ActiveX Control Interface Wizard includes all the properties exposed by the constituent controls currently on the UserControl’s surface. Unfortunately, this list
If you want to implement a Variant property that can also be assigned an object, you must be very careful about how you build the corresponding Property procedures. To begin
Visual Basic lets you create a default property or method by simply selecting the “(Default)” item in the combo box that appear if you click the Advanced button in the
Writing code from scratch, without any prior design or plan, is a very bad programming practice. However, the opposite, namely over-engineering, can be just as harmful. In essence, over engineering
typedef names can hide intricate syntactic constructs such as pointers to functions and template instances. However, many novices simply don’t know how to declare a typedef, or worse yet Related
The terms “deep copy” and “shallow copy” refer to the way objects are copied, for example, during the invocation of a copy constructor or assignment operator. In a deep copy
Although the syntax of pointers to members may seem a bit confusing at first, it is consistent and resembles the form of ordinary pointers, with the addition of the class
Although pointers to members behave very much like ordinary pointers, behind the scenes, they are not necessarily represented as pointers. In fact, a single pointer to member usually consists of