eHow launches Android app: Get the best of eHow on the go.
Remove the mystery from computer programming by researching eHow’s expert collection of programmer How Tos. Whether looking for a basic overview of various computer programming languages or attempting to bulk up a software engineering resume by improving your Java skills, eHow can help. Neck deep in damaged binary code and need a helpful shortcut? eHow can show you how to switch the values of two variables without using a temporary variable.
Showing 1-40 of 40 results
The Java programming language, created by Sun Microsystems, has a growing standard API to provide programmers with a wide variety of tools for accomplishing common tasks. Java 1.5, also known as...
Conversion of variables to different types is an integral part of computer programming. The functions included in Visual Basic make this an easy and painless task. Mastering conversion functions...
Everyone remembers playing the word-guessing game Hangman as a child. One player secretly chooses a word. The other player has to guess letters that may be in the word. If she is right, the...
The Java programming language can be used to develop complex applications involving databases, sounds and video. But, it can also be used to develop simple games, including word puzzles. A good...
There is often a confusion about how and when to use substr versus substring in Javascript. This article points out concisely where the two built-in function differ and when they should be used.
The Java Database Connectivity (JDBC) Application Programmer Interface (API) provides classes for connecting to and accessing tabular data, including relational databases. The ResultSet class...
Creating XML files is used by programmers who want to create dynamic pages from Java code. XML files can be used to import values into a database, or they can be used to display lists of data to a...
Microsoft Visual C++ is a development environment that uses C++ as its core language to create applications for Windows operating systems. C++ is an object-oriented language, and Visual C++ treats...
Structured Query Language is a database language that retrieves information from databases and displays it to the user. Its replace keyword function can search a string for one or several...
The Java programming language is well-known for incorporating object orientated programming from the start. Everything in Java is based on the object model. As a result, Java has a large number of...
Visual Basic (VB) is Microsoft's event-driven programming language designed for the COM programming model environment. It is designed to be easy to use and was based on the programming model used...
Just about every program these days requires network communication in one way or another using the TCP/IP protocol such as DNS, DHCP, IM and other IP related services. Some of the challenges that...
Visual Basic is a programming language that is considered one of the easiest to learn for programmers. The language is the closest to natural human language, making the computer "speech" the...
Although Microsoft support provides two functions to read and write schema.ini files, the articles stop short of explaining how to add flexibility in using the functions. Here I will show a few...
Creating a Visual Basic database on the fly is a method used by programmers to quickly save data to a file. The file can be distributed for reports or used later in the application. A Visual Basic...
It is always tricky to convert from one variable type to another. This HowTo explains how to convert a String to an int in the Java programming language. Using this technic even beginners can...
Replacing text in Java is difficult for special characters. Because the compiler interprets and views some special characters, such as quotes, as an indicator of a string, the code throws an error...
PHP, as with all other programming languages has a function where you can obtain the length of a string. This comes in handy when you are validating data such as making sure a user has entered...
Read from the Windows registry using the Registry.GetValue method in the Microsoft.Win32 namespace in C#.
Write to the Windows registry using the Registry.SetValue method in the Microsoft.Win32 namespace in C#.
Loop through each file in a directory using the Directory.GetFiles method in the System.IO namespace in C#.
Most programming languages have routines to convert integer (Int) values to string values, although some languages may require more steps than others. For example, the C language compilers do not...
Converting an integer to a string is a common practice when programming. For some application processes, it's necessary to manipulate the format. Java makes converting an integer to a string easy...
Functions are reusable pieces of code in an application. They save the programmer coding time by providing a way to perform the same process by simply calling the function, passing a variable, and...
SQL allows the programmer to store data from any form of document, even images and rich media, directly within the server. The newest SQL application is SQL Server 2008 by Microsoft. SQL Server...
When writing programs and working with web pages written with Javascript, it is often useful to convert strings to integers. In fact, when you are getting input from the user, you will nearly...
In many other programming languages, a string is a simple data type, but in Java it is a full-fledged object. Luckily, that means its quite easy to use built-in Java functions to determine any...
I recently found myself appending large amounts of information into Ruby strings prior to writing them to a file. I thought that using += would modify a single Ruby string in-place. I was wrong....
How often have you needed to use integer values to build a string, but found that you need a certain format. Most specifically, this probably usually happens when you're creating a date...
If you are reading data from a database regardless of which programming language that you use, you will invariably run into a database that is designed to allow null values to be saved in table...
In the Python programming language, a dictionary is a data structure that maps unique keys to values. In other programming languages, however, these data structures are known associative arrays...
Strings in databases are used to hold names, addresses, comments and other series of letters and numbers. You use different String Data Types depending on the length of the strings and how you...
The C++ strtok function tokenizes a string. It splits a source string into segments called tokens that are separated by any of a specified set of characters called delimiters. Strtok takes the...
The C++ strxfrm function transforms a string according to the value of the LC_COLLATE category which provides locale specific collating information. It then copies a specified number of bytes of...
The C++ strcat function is short for "string concatenate." Strcat appends a copy of a source string to a destination string. The null terminator character in the destination will be overwritten by...
The C++ strchr function locates the first occurrence of a specified character in a source string and returns a pointer to that location. This includes the null character so strchr also can be used...
The C++ strncat function appends up to a specified number of characters to a destination string. The null terminator character in the destination string will be overwritten by the first character...
The C programming language doesn't provide an actual string data type. In C, a string is emulated by an array of characters that terminates in NULL. Such an array can be declared statically or as...
The printf function in C++ writes data to the standard output which is the monitor by default. This command takes a format as a parameter followed by as many format specifiers as are required by...
The strlen function in C++ returns the length of the given string. This length is the number of characters before the terminating null character. The following steps will help you use this common...