Correctly Defining a Function in an Unnamed Namespace
The use of the static keyword is deprecated when declaring objects in a namespace scope; the unnamed-namespace provides a superior alternative. Nonetheless, it is important to know how to define
The use of the static keyword is deprecated when declaring objects in a namespace scope; the unnamed-namespace provides a superior alternative. Nonetheless, it is important to know how to define
It is perfectly legal to use of the equality operator to compare literal strings. However, the results might be surprising: bool eq;eq = “Mungojerrie” == “Rumpleteazer”; //not what you expect
The rumors about the obsolescence of C were immature. In fact, some of the latest developments in the software world indicate that C is still a leading programming tool. Linux
You can use sp_configure with RECONFIGURE to display or change server-level settings. However, some configuration options require a server stop and restart to update the currently running value. RECONFIGURE does
Callback functions have a fixed signature so you cannot alter the number or type of the arguments it takes. For example, the standard qsort() function takes a pointer to a
CC++ (this is not a typo) is a parallel programming language based on C++. You can find a free CC++ compiler as well as an overview of CC++ features, syntax,
The homepage of Dennis Ritchie, the creator of C and a coauthor of the legendary The C Programming Language, is probably the best virtual museum of the C programming language.
Although you can catch an exception by value, as in the following example: catch( Exception except) // by value { // Related Posts Branson’s brave sale of Virgin Records safeguarded
Question: I have an HTML page containing two forms. One form uploads an image file and needs to have an encryption type set while the other sends a plain set
Question: I am retrieving around 3000 records from a SQL database into an ASP page. The process is very slow. Will using MTS speed up the execution time? I am
Question: Can you show me an example that demonstrates how to use pointers to return more than one variable? Answer: A function cannot return more than one value. However, you
Question: I need to have a TXT file downloaded to a user’s machine over the Internet. I want to place the file in a specific directory. I could give the
Question: I have to use the Scripting.FileSystemObject in a script on the client side because I have to read a file from the client disk. Because the Scripting.FileSystemObject is not
Did you ever want to copy a block of preformatted text or a long concatenated SQL string, but wished that InterDev didn Related Posts Tech Layoffs Are Getting Worse GloballyReverse
When you have a multi-select control, your request variable for the control will be comma delimited. An easy way to retrieve each option value is to use the VBScript Split
Regular select controls are quite bland. Wouldn’t it be interesting to add some color? With IE (this tip, unfortunately, does not apply to Netscape), you could change the color of
If you Related Posts 3 More Hints for Building Faster SQL QueriesTaking Advantage of Immutable Objects in JavaDetermine Whether the Origin of the Request is a Crawlerthis is test header
You can improve on ASP performance by avoiding the use of server-side #include directives to include large lists of constants. Instead you can use the new tag to import type-library
Writing well-formed HTML is really quite simple. It has the benefits of markup being unambiguous as well as a way to increase the robustness of the Web, while simplifying and
One of the easiest methods to navigate back to the page where they came from is with JavaScript object.property called document.referrer. This document.referrer means the page that referred the current
You should compile your SQL queries with the ADO Command object to avoid problems that can arise from concatenating strings and variables to form SQL queries. Using Command object’s Parameter
If you have a data driven Web site, you might provide functionality so that a user can delete records from the database via a Web page. If there are lots
There are many simple images (stripes, hue gradients, fractals, and the like) that can easily be constructed in memory via code. To do so, you need a one-dimensional array to
Virtual keyword can be used in ASP to include a directive to indicate that a path begins with a virtual directory. For example, if a file named MyConstants.inc is in
The clone() method of java.lang.Object class makes a shallow copy of anobject i.e. a copy that excludes the objects that the to-be-cloned object contains. Therefore, to produce a deep copy
The Microsoft Java SDK (http://www.microsoft.com/java) has a tool called jexegen which converts a Java class file into a fully executable Microsoft Win32 application. Related Posts How to Check if Index
In Java The expression x/y (x and y are both integers) will represent an integer operation that would result in an integer. So, the result of 4/5 would be 0.
The class java.net.InetAddress represents an Internet Protocol (IP) address. It has a static method, getLocalHost(), that you can use to obtain an instance of java.net.InetAddress based on your local machine’s
nce you go beyond the basics in ASP?scripting some fancy output?the next thing you usually want to do is access a database and display data from it. This ASP primer
y now, I’m sure that you have some Web development experience, either with VB DHTML applications, or HTML pages using VBScript. If not, then you will soon, so pay attention.