Actually, creating screen savers is relatively simple for Windows. For C++ development, you can get an idea where to start by looking at a sample screen saver supplied with the Platform SDK. An easier approach might be to just use .NET, since .NET handles much of the heavy lifting of memory management and other hassles for you. Microsoft has a sample you can learn from.
This was first published in September 2002