IP configuration

This sample illustrates how to programmatically change an IP address for a
specific network adapter on your machine. This program also demonstrates how
to retrieve existing network adapter IP configuration information.

IP configurations can be changed for a specific network adapter by using the
AddIpAddress() and DeleteIpAddress() Ip Helper API functions. These […]

By |C++ Source Code|0 Comments

Birthday Reminder

This graphics program reminds you of peoples’ birthdays.
/*******************************************************
* MYCPLUS Sample Code – http://www.mycplus.com *
* […]

By |C++ Source Code|1 Comment

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 of the standard C++ library known as the Standard Template Library […]

By |C++ Source Code|0 Comments

Simple class program

Simple class program

By |C++ Source Code|1 Comment

Client and Overlapped Server and Server and ThreadServer

This 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.
There are four basic steps needed to […]

By |C++ Source Code|0 Comments

Number Conversions

This is another one of my numerical analysis university assignments. It is an extension of binary to decimal conversion code. The program converts a number in any base to a number in any other base. The user inputs the original number, the base it was written in and the base it wants to convert to. […]

By |C++ Source Code|0 Comments

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 the leverage you get from changing from C to […]

By |C++ Source Code|0 Comments

Solve the Quadratic equation using C++

This program will solve quadratic equations.
You can copy and paste it into an editor, save it and compile from there.I have compiled and run this on a RedHat GNU/Linux machine using kernel 2.4.20-6 and it works. If you are using another system ( windows or mac you may need to change the coding ).
To compile: […]

By |C++ Source Code|0 Comments