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-50 of 53 results
During the process of computer programming, it is sometimes necessary to produce the program in parts that are later compiled into one total program. These parts created during the programming...
Asynchronous JavaScript and XML, AJAX, is a technique using several web technologies to develop interactive client-side web applications. JavaScript is used to read an XML file, and display...
A function pointer is, in essence, just a pointer to a function. In languages such as C++, each function and variable in a computer program exists as a memory address, and a variable can contain...
Depending on who you ask, pointers are either a blessing or a curse. Pointers provide a mechanism for directly accessing and modifying objects and code in memory. Pointers are used in many...
When developing new software code, the need for external review by either team members or educational graders is essential. While many focus on software documentation in the form of user’s guides,...
Pointers are a special type of variable in a programming language that contain either a physical or virtual address of memory. They are widely used, either explicitly or implicitly, in most...
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...
Microsoft Visual Basic is a programming language used to extend the functionality of Microsoft Word and Excel. Coding Visual Basic projects that perform essential Excel tasks will teach you how to...
Microsoft Excel employs a programming language called Visual Basic for Applications, with which users can enhance Excel's standard functionality. In writing program code, users typically use...
A stack overflow is a type of programming error which occurs when a program attempts to allocate more memory on the call stack than is available. It is a potentially serious error that causes the...
Changing the mouse cursor is a simple way to jazz up your web page with cool special effects. Mouse cursor styles can improve your web page's usability by providing your users with additional...
When creating audio software using Visual Basic, you need to call the Windows operating system function that allows the application to use internal processes that play music. Although the function...
An EventListener is an object used to trigger code after a user's action. For instance, when a user clicks a button, an event is triggered. Without any type of coding, nothing happens when the...
Visual Basic, the widely used development environment for creating Windows programs, has a wealth of features to help you code quickly and cleanly. These include graphical form designer, debugger...
Javascript is a client-side programming language that allows programmers to run code on the local machine. It's distinct from server-side programming, since it is run on the user's browser rather...
JavaScript pull-down menus are a way to create graphically enhanced menus for user navigation in web pages. These menus have become a standard in HTML web-page programming, so many users recognize...
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...
A custom function can be used when there is a need to run the same code/logic in multiple places of a report/reports. To create and use a custom function in a Crystal Report, follow these steps.
Creating customized functions is one the most valuable features Microsoft offers for Excel. In this example, I will show you how to create a function to split text into smaller pieces for...
Visual Basic comes with libraries for basic, common functions. One of those libraries contains a large group of math functions, making it easier to calculate equations. Each math function is...
The "OnSubmit()" function is used to trigger code before the user's form is submitted to the server. The most popular reason to change the "OnSubmit()" value is to create a pop-up window when the...
Generating random numbers in C is needed in several applications. For instance, generating a default password for a new user on a network uses random generation of numbers and letters. Random...
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...
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...
In computer programming languages, "null" means nothing. It is different from any other value, including a blank string that actually contains the space character, and it is different from the...
One of the neatest tricks for avoiding unnecessary 'for' or 'while' loops in your program is using a function recursively. Engineers and Scientists without a computer science background usually...
A while-sleep loop is a very common paradigm in programming. The example that comes immediately to mind is polling. When polling a resource, one would naturally do so in a while loop, exiting...
Whether you're in Microsoft Excel, MS Access, or other Microsoft programs(see "Things You'll Need"), if you need to capture the Microsoft Windows log-in name of the current user, here's...
A function is a great way to obtain calculations of any kind by passing a value and then assigning a variable to the actual function name so it seems like an easy transition. You can also reuse...
CPanel is a popular web hosting management program that has a graphical user interface that makes it easier to navigate than other similar programs. Although cPanel offers great control of the web...
When writing a program in the Visual Basic editor of Microsoft Excel you may find that you need to show dialog boxes that either tell the user something or prompt him to choose an option. You can...
This How-to assumes that you have read and understand my original How to article "How to write a function in VB.net". I will use the same code from that project in this one and show how...
Functions are a great way to reuses a calculation or process that returns an answer and that you will use over and over again. There is no need to rewrite the calculation everytime you need it,...
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...
Ncurses provides a colorful terminal-based interface for text-based UNIX CRTs. The libraries allow programmers to create function-key mapping, side-by-side windows and screen-painting functions....
A function is a programming procedure that returns a value. You can also pass a value to it like a procedure. Functions are programmed into Microsoft Access with the Visual Basic for Applications...
Suppose you want to make a function, Mult, that multiplies two numbers. You can write a separate version for each data type, which is the overloading method, or you can use C++ function templates...
You can overload templated functions like you can normal functions. This way, one function name can handle generic data types and a variable number of parameters, provided that those parameters...
In C++, you designate a C++ function with the inline keyword to make a request to the compiler to improve the function's performance. Depending on several factors, the compiler may integrate the...
Static member functions occur infrequently in C++ programs. A programmer would use these functions mainly when he wants to access a member function even though the class hasn't been instantiated....
Function overloading in C++ allows more than one function to have the same name. The issue of which function to call is resolved when compiling the program using the input parameter list which...
In an objected-oriented language, a virtual function is one that may be overridden in a derived class. This concept prevents a function call from being ambiguous when the function of a base class...
The main function is the entry point for any C++ program and is generally the first code that is executed when the program is run. However, global objects with constructors may execute...
The function is the most fundamental way of abstracting a task. Any code that is repeated more than once in your program is a candidate for function use in Python. For example, if your program...
Exceptions in Python (and other programming languages) are a way to inform higher-level code of a unrecoverable error. If, for example, a function is supposed to load an image from a file, it...
EXSLT is a community venture to provide extensions to XSLT. XSLT stands for Extensible Stylesheet Transformations. It is a significant connection between XML processing and proverbial HTML. XSLT...
In programming, a function is a small program that receives and manipulates data, returning a result in the process. And Microsoft Excel has plenty of built-in functions, such as SUM, COUNT and...
Transitioning from C to C++ is an intensive process. It can be a field sport or a war zone, depending on the programmer's experience. Many consider C++ just C with object-oriented extensions, but...
Perl comes with a File::Find module that allows a user to search for a file. The File::Find::find function descends into subdirectories and visits each file once, passing it to a function you...
The memmove function in C++ copies the specified number of bytes of data from the specified source to the specified destination. This function is called a move because it uses an intermediate...