Hi
I try to compile an example from MSDN.(using 'openf_s' function)
I get errors:
error #2048: Undeclared identifier 'errno_t'.
error #2001: Syntax error: expected ';' but found 'err'.
error #2048: Undeclared identifier 'err'.
warning #2018: Undeclared function 'fopen_s'; assuming 'extern' returning 'int'.
(No problem compiling with lcc-win)
Attached file.
If I change 'errno_t err;' to int err; it compiles without errors, only warning: warning #2018: Undeclared function 'fopen_s'; assuming 'extern' returning 'int'.
Please help.
Thanks
ly