> I would say that gets is much more dangerous than %n in printf, but
> presumably Microsoft does not disable gets

Actually, for gets, and essentially the entire stdio.h, Visual Studio 2005 
generates:

     warning C4996: 'gets': This function or variable may be unsafe. Consider
     using gets_s instead. To disable deprecation, use 
     _CRT_SECURE_NO_WARNINGS. See online help for details.


 - Matt

Reply via email to