Salut, Din cauza ca folosesc functia strdup, primesc warning la compilare: “ warning C4996: ‘strdup’: The POSIX name for this item is deprecated. Instead use the ISO C++, conformant name : _strdup. See online help for help for details”. Tin se precizez ca folosesc flag-ul /D_CRT_SECURE_NO_DEPRECATE.
Am cautat online si am gasit ca pot sa folosesc flag-ul de compilare /D_CRT_NONSTDC_NO_DEPRECATE. Avem voie sa folosim flag-ul acesta sau nu avem voie sa folosim strdup in tema? Mihaila Alin
_______________________________________________ http://ocw.cs.pub.ro/courses/so/info/lista-discutii