Welcome to Win32APIcode.
This site is all about Visual C/C++ WIN32API Programming. Why? You may think it's easy to use MFC, but I think it's not worth learning. I rather stick with the proven solid WINAPI code that is fast and small in size. All code found here was made in MS Visual Studio.NET, but should work fine with other compilers/linkers.Conway's Life simulation
I put a small simulation application according to the rules of Conway on the site.Windows controls
You can also find examples of how to use windows controls here.
Bundle of sourcecode
Therefore I'd like to bundle some sourcecode here that you can use instantly. Just copy and paste the code, compile and link. To keep it really simple I think it's best to just use C-code with some structures. If you like the code you can fit easily in your CPP classes, right?