Mixing delete and delete[]
Question: I am programming with Visual C++ 5.0 and the class library StarView from StarDivision.Looking at the Source from StarView, I found bad code: void** p = new (void*)[100];…delete p;
Question: I am programming with Visual C++ 5.0 and the class library StarView from StarDivision.Looking at the Source from StarView, I found bad code: void** p = new (void*)[100];…delete p;
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: I recently started programming with Borland C++ Builder and the help files aren’t much help at all. I would like to know what the code is for executing another
If you’re using Internet Information Server with Active Server Page technology for hosting your Web site, here is a simple way to include a hits counter and the date the
If you’re using IIS 3.0 with Active Server Page technology for hosting yourWeb site, here is a very simple way to highlight comments in your ASP pages andreduce page download
Question: I want to compute the number of the week. Thanks in advance PLM Answer: This is pretty basic stuff. If you want the current week of the month, a
Question: How can I expose the ItemData property of a ListBox to use it for storing longint data that corresponds to each item in the list in Delphi 3.0? I
Question: How do you select the maximum value of a column in a DBGrid when displayed through a query? (query SQL:select max(CustNo) from customer, and get error message:”the table is
Question: In my Delphi 1.0 application, when I open a form (e.g. ClientForm.Show) I get an error message: “Error creating window.” This error occurs when several forms (nine or ten