devxlogo

We are an award-winning tech entrepreneurship website where trusted experts can provide value globally.

Since 1998, DevX has helped people start businesses, build websites, and provide enterprise technology to people globally. Interviewing the likes of Microsoft’s co-founder, Steve Ballmer, the publication brings comprehensive, reliable, and accessible insights to the Internet.

devxlogo

Trusted for 26 years

Over 30K Articles

1M+ Readers

Expert-reviewed

10K+ Tech Terms

As seen in:

microsoft logo
business_insider_logo
wired_logo
berkley
arstechnica_logo
hackernoon

The Latest

C++ abstract classes

Question: What are Abstract Classes? Please explain with an example. Answer: An abtract class has at least one pure virtual member function. A pure virtual member function is a non-implemented

Constant Pointer

Question: Can you expalin the difference between the following statements in some examples and when do we need them: const char *ptr; //char *const ptr; // Answer: The following statement:

Designing XML Objectively

Question: I am having problems designing my XML doc. I’d like togeneralize it using common structure names but it appears that the DTD/Schemafor it can’t fully describe it. Here is

Grid Disappears

Question: I am calling one form from another. But after working in the called form, when I come back to the calling form, the grid that was there in the

VolumeLabel – Read the label of a disk volume

‘ Return the volume label of a disk’ Pass a null string for the current diskFunction VolumeLabel(drive As String) As String Dim temp As String On Error Resume Next temp

GetDiskFreeBytes – Determine number of free bytes on disk

Private Declare Function LoadLibrary Lib “kernel32” Alias “LoadLibraryA” (ByVal _ lpLibFileName As String) As LongPrivate Declare Function GetProcAddress Lib “kernel32” (ByVal hModule As Long, _ ByVal lpProcName As String) As

Using SQLMAINT.EXE Command-Prompt Utility

You can use SQLMAINT.EXE command-prompt utility to perform routine database maintenance activities. It can be used to run DBCC checks, to dump a database and its transaction log, to update

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

Be Cautious with Equality Tests on Literal Strings

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

A C Renaissance?

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

Change the SQL Server Configuration Option

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

Passing More Arguments to a Callback Function

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

Greet CC++ , a Parallel Programming Language

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,

Visit Dennis Ritchie’s Homepage

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.

Catch Exceptions by Reference

Although you can catch an exception by value, as in the following example: catch( Exception except) // by value { //

Posting Two Forms Simultaneously

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

Using Pointers to Return More Than One Value

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

Reading Files on Client Machines

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

Change Your Selection Mode

Did you ever want to copy a block of preformatted text or a long concatenated SQL string, but wished that InterDev didn

Improve ASP Performance

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