Getting an error “fopen’: This function or variable may be unsafe.” when compling [duplicate]

This is not an error, it is a warning from your Microsoft compiler.

Select your project and click “Properties” in the context menu.

In the dialog, chose Configuration Properties -> C/C++ -> Preprocessor

In the field PreprocessorDefinitions add ;_CRT_SECURE_NO_WARNINGS to turn those warnings off.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)