Add the include guard
Upload the VC project file to Visual Studio 2013 format
Fix the compile error by missing including
Remove the unused "vector" header including
Split the implementation to cpp file
Add the compile switch for the function to save bitmap
Fix the warning
Set the project file to treat warning as error
Pick up the magic number