C and C++ Programming Resources

Custom Search

C++ Source Code

The Standard C++ Library: IOStreams

Posted on September 9th, 2008 0 Comments

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 over C’s stdio facilities and explores the behavior of file and string streams in addition...
Read More | Make a Comment

constructors and destructors

Posted on September 9th, 2008 0 Comments

constructors and destructors /******************************************************* * MYCPLUS Sample Code - http://www.mycplus.com * * * * This code is made available as a service to our * * visitors and is provided strictly for the * * purpose of illustration. ...
Read More | Make a Comment

IP configuration

Posted on September 9th, 2008 0 Comments

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....
Read More | Make a Comment

Birthday Reminder

Posted on September 9th, 2008 1 Comment

This graphics program reminds you of peoples’ birthdays. /******************************************************* * MYCPLUS Sample Code - http://www.mycplus.com * * * * This code is made available as a service to our * * visitors and is provided strictly for the * * ...
Read More | Make a Comment

The Standard C++ Library: Generic algorithms

Posted on September 9th, 2008 0 Comments

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 (STL) was originally designed...
Read More | Make a Comment

Simple class program

Posted on September 9th, 2008 1 Comment

Simple class program /******************************************************* * MYCPLUS Sample Code - http://www.mycplus.com * * * * This code is made available as a service to our * * visitors and is provided strictly for the * * purpose of illustration. * *...
Read More | Make a Comment

Client and Overlapped Server and Server and ThreadServer

Posted on September 9th, 2008 0 Comments

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 implement a client: Wait for a Named Pipe...
Read More | Make a Comment

Number Conversions

Posted on September 9th, 2008 0 Comments

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. It then outputs the number in the converted base. /******************************************************* *...
Read More | Make a Comment


Page 3 of 6123456