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-28 of 28 results
A buffer overrun, or buffer overflow, is a problem in which a computer program writes more data to a buffer than has been allocated for that buffer. As a result, data is written to an adjacent...
A common mistake made by new programmers is to store all collections of data in simple arrays. While the basic array is a great data structure, it has a number of weaknesses that can be avoided by...
Java is one of the most commonly used coding language in use as of 2009. Applets ranging from games to complex queries are run on Java and its Runtime application. But as with every coding...
One of the features that makes C such a powerful programming language is the ability for programmers to access memory directly using pointers. Pointers are used extensively in C for handling...
The C programming language makes heavy use of pointers for passing variables to functions, creating and manipulating arrays, and creating complex data structures such as linked lists. If you...
Programming languages use arrays to store a list of data. An example of array is (1 2 6 17 6 2 95 1 2 6) that has elements "2", "6" and "1" duplicated. Perl, a freely accessible programming...
Use Microsoft Visual C# to create a Hello World program that uses a For Loop to display String Array elements in a MessageBox.
Virtually all programming languages use an array structure to store a list of data. For example, "array(76, 3, 5)." The reversed array would contain the same data but backwards i.e. "new_array(5,...
PHP has a function called "array_unique" that removes duplicate values from an array and returns a new array without the duplicate values. The original array will remain unchanged. With this...
Perl and many other programming languages use arrays to store a list of data. However, Perl also supports a specific data structure called a hash. A Perl hash associates a particular value with a...
Although you can sort an array manually by writing your own code for it, many programming languages have a built in function that allows you to sort an array using just a line or two of code. This...
Perl scripts are very common in the programming world, especially for programs that must manage large amounts of text, such as indexers. Perl scripts can be very easy or very difficult depending...
If you find yourself in needing to convert a decimal number into a hexadecimal while developing a piece of software you can use the code in this example to set up an array so you can more easily...
A histogram is a graphical or numerical representation of the number of pixels and lines of color found in an image. Some high-end digital cameras will display this information for you in their...
VB.net offers a great function that allows you to join all of the members of an array into one string. Here is how it is done.
Subroutines give you the ability to write code that can be used over and over again in a program. This saves you time from writing the same code more than once. In this example I am writing a...
The file function in PHP reads a file into an array and returns the array. You should use file_get_contents instead if you would like the contents of the file returned as a string. The following...
Perl 5 added the ability to manage complicated data in Perl. References essentially point to another data set without having to write out the entire data set each time you need it. There are ways...
To some, Javascript is often viewed as a primitive and not particularly useful programming language. However, Javascript is actually a fully object-oriented language that runs in your web...
As a portable, simple and versatile language, PERL has become popular for working on web-based scripts and programs. Originally developed for UNIX, PERL has a straightforward structure and a...
The C++ map container class implements one-to-one mapping between a unique key and a value. The key sorts the key value pairs in the map. The [] operator is the STL map's most frequently used...
Often, programmers prefer to deal with chunks of data through their memory location instead of directly. C++ pointers are ideal tools for these memory operations. A pointer is a data type that...
Perl is designed for reading and manipulating text data. It's easy to manipulate its three basic data structures (the scalar, the list and the hash) because the Perl interpreter can type it based...
Arrays are useful and fundamental structures that exist in every high-level language. In Python, arrays are native objects called "lists," and they have a variety of methods associated with each...
Every programming language and library includes an array as part of its toolset. Arrays are useful because they allow convenient and efficient storage of data. The Microsoft Foundation Class...
The C++ memset function is short for "memory set." It sets a specified block of memory to a specified character, overwriting the original data. It does not check for overflow and does not use an...
The array command in PHP creates and returns an array with the listed parameters. Index values are optional and may be provided with the => operator. This command is a language construct, not a...
The "array_change_key_case" function in PHP changes the indexes of the input array to all lowercase or uppercase if the indexes are strings. This function will not affect numeric indexes. The...