Merge pull request #6212 from apnadkarni/patch-1 Fix crashes in example programs on Windows (sprintf_s not compatible with snprintf)