(Show all Tutorial articles . . .
Headlines | Linux | Apps | Coding | BSD | Admin | News
Information for Linux System Administration 

Tutorial: C Function Pointers


I use function pointer arrays in the GPL'd Space Tyrant game server project. The articles about it are a little old but the software development has continued. It's actually running here.
Function Pointers are pointers, i.e. variables, which point to the address of a function. You must keep in mind, that a running program gets a certain space in the main-memory. Both, the executable compiled program code and the used variables, are put inside this memory. Thus a function in the program code is, like e.g. a character field, nothing else than an address. It is only important how you, or better your compiler/processor, interpret the memory a pointer points to.
 read more | mail this link | score:7154 | -Ray, September 30, 2006 (Updated: April 26, 2011)
More Programming articles...

Abstract Art by Ray Yeargin

Selected articles

Linux dominates Windows

Apple to Intel move no threat to Linux

The Supreme Court is wrong on Copyright Case

Why Programmers are not Software Engineers

The Real Microsoft Monopoly

Beneficial Computer Viruses


Firefox sidebar

Site map

Site info

News feed


(to post)


Articles are owned by their authors.   © 2000-2012 Ray Yeargin