A friend of mine is just trying to compile something like
thefile = fopen("my-file","r");and there, he gets a warning message from MSVC IDE (no idea which version) about "fopen" being deprecated. For security purpose, or so says the msdn.
if (thefile != NULL) printf("did it ^_^\n");
"I beg you pardon? i thought fopen() was part of a _standard_ library ?" well, all MS coders are now supposed to write code using fopen_s and strcpy_s (which happens to look very much like strncpy(), but maybe that one wasn't standard enough to redmon's tastes).
"We are the blorg" they replied "resistance is futile". Then i turned back at my friends and shouted "run! run for your lives!"
No comments:
Post a Comment