Pointer to a Function is an address of a function in memory [C/C++]

  • C Programming Source Code
Pointer to a Function is an address of a function in memory [C/C++]

This is a C program of showing how to use a pointer to a function. The pointer to a function is available in ANSI-C as…

C Programming: Example C Program to Understand Functions

  • C Programming Source Code

This C source code demonstrates the implementation of fundamental mathematical operations using functions in the C programming language. It includes functions for calculating the square…

C Program to play with variables and their addresses

  • C Programming Source Code

This is a simple C program to show pointers and how you can use pointers to print address of variables and their contents. This program prints…

C Programming: File Listing Utility – Directory Structure

  • C Programming Source Code

The C program is a file listing utility that displays information about files in a specified directory. It uses command line arguments to display the…

Copying One File to another in C

  • C Programming Source Code

This is a simple C program that copies the contents of one file onto another file. It is similar to Unix's cp  command. This C…

C++ Enumerated type variable [C++ Enum]

  • C Programming Source Code

This C++ program shows how to use enumerated type . The enum is a compound data type and works in C++ exactly the way it…

Defensive Programming Techniques

  • C Programming Source Code

This source code is from Thinking in C++, 2nd Edition, Volume 2, by Bruce Eckel & Chuck Allison. You can use Borland, G++ (For version…

Inverts the case of the selected text

  • Visual Basic Source Code

This is a visual basic 6.0 source code that inverts the case of the selected text. If the upper case text is selected then it…

wav sound player class

  • Visual Basic Source Code

This is a visual basic 6.0 wav sound player class that plays any selected sound file in .wav format. It has the filename property to…

256-bit Serpent VB Implementation

  • Visual Basic Source Code

This is a slow but working Visual Basic implementation of the 256-bit Serpent algorithm. Serpent was a finalist for Advanced Encryption Standard (AES) and appears…