like lot of codes aand stuff i think a programmer learns alot by reading others codes
Then try Planet Source Code.

For example, typing win32 in c/c++ yeilds this list of 209 code samples.

For a more advanced book you can try 'Visual C++ Goodies'.