fopen disable deprecation code example Example: how to turn off warning in visual studio about fopen_s #pragma warning(disable:4996)