'fopen' is deprecated: This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. code example
Example: how to turn off warning in visual studio about fopen_s
#pragma warning(disable:4996)