My intent here is to provide simple samples that are easier to understand
than the complete-working-program samples typical of the MSDN, but I
have put a variety of other stuff here too. Most of the material here uses C++
and Windows but there is some Windows application stuff too. I do prefer to keep
things simple and that can be especially helpful for samples. Please do not call this site Simple Sam's Samples,
however.
This web site is the result of my assistance in the CodeGuru
Visual
C++ Programming forum, the microsoft.public.vc.mfc
newsgroup and other such places. In the beginning, I began saving answers for
later use, because questions are often asked more than once. When I had a few, I
put them in my personal web site. Those web pages grew and developed into this
site.
I have submitted two articles to the CodeGuru web site.
They are a sample
Simple BMP
Viewer and
Processing Keyboard Messages; both use MFC.
I have 25 articles in the C# Corner
web site at
Sam Hobbs's Articles about C# programming and some other subjects.
You can contact me by sending a message to the Webmaster @ this domain, where this domain is SimpleSamples.Info.
A little humor
The C++ language has destructors for classes that do explicit destruction. C# and
Java have garbage collectors so programmers using it leave their garbage for the
garbage collector to do the clenup. I tend to clean up after myself instead of
leaving my garbage for othjers; I am more of a C++ guy.