Client and overlapped Server and Thread Server

This C++ program is a simple named pipe client that demonstrates the API calls needed to successfully develop a basic named pipe client application. When this application successfully connects to a named pipe, the message “This is a test” is written to the server.

C++ Program to simulate Cache Coherence mechanism Graphically

This C++ program simulates the cache coherence problem graphically. In computer architecture, cache coherence is the uniformity of shared resource data that ends up stored in multiple local caches. When clients in a system maintain caches of a common memory resource,...

Using Templates to implement Stack

In this post we are going to write C++ program to implement stack data structure using Templates. Stack is an abstract data type which serves as a collection of elements, with two principal operations i.e. push() and pop(). It works based on LIFO operations also known...

The Standard C++ Library: Generic containers

Container classes are the solution to a specific kind of code reuse problem. They are building blocks used to create object-oriented programs’ they make the internals of a program much easier to construct.   The Standard C++ Library: Generic containers...

Runtime type identification (RTTI)

Runtime type identification (RTTI) lets you find the dynamic type of an object when you have only a pointer or a reference to the base type.   Runtime type identification (RTTI) (13.3 KiB, 3,010...

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 usually the first part of the C++ library that new C++ programmers learn to use. This chapter discusses how iostreams are an improvement...

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 makes your programs both simpler and safer. The ability to customize algorithms at runtime has revolutionalized software development.The subset...

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 own. These libraries are far more powerful than those in Standard C; the leverage you get from them is analogous to...