Source Code: Programing Source Code

The Standard C++ Library: IOStreams

You can do much more with the general I/O problem than just take standard I/O and turn it into a class. The iostreams classes are…

The Standard C++ Library: Generic algorithms

Algorithms are at the core of computing. To be able to write an algorithm once and for all to work with any type of sequence…

The Standard C++ Library: Strings

Standard C++ not only incorporates all the Standard C libraries (with small additions and changes to support type safety), it also adds libraries of its…

Flexible Vector and Matrix (Vectors and Matrix with Arbitrary Bounds)

This is C++ Flexible Vector and Matrix (Vectors and Matrix with Arbitrary Bounds). The algorithm has been written by Alex Vinokur. Programming Language : C++.…

Bubble Sort C Program

Bubble Sort C Program

Bubble Sort is the most simple form of sorting algorithm that works by repeatedly stepping through the list of items (array) and swapping the adjacent…

Brick Game – Game Developed in C++

This is the complete source code of the most favorite flash game 'Web Breaker'. The source code is written completely in C/C++ programming language. The…

How to implement simple TCP Client and Server Program in C?

This is a C Program that illustrates a simple TCP (Transmission Control Protocol) server that accepts incoming client connections. Once a client connection is established,…

Writing UDP Data Sender and Receiver in C

The sender program is a UDP datagram sender that can be configured through command line options. It initializes Winsock, creates a UDP socket, and either…

ICMP Ping Program in C

This sample illustrates how an ICMP ping app can be written using the SOCK_RAW socket type and IPPROTO_ICMP protocol. By creating a raw socket, the…

graphics: graphics.h Header File

This is the graphics.h header file which contains all the graphics functions and their implementations. It is quite nice to have a look at header…