int __cdecl scanf ( const char *format, ... ) /* * stdin 'SCAN', 'F'ormatted */ { int retval;
va_list arglist;
va_start(arglist, format);
_ASSERTE(format != NULL);
_lock_str2(0, stdin);
retval = (_input(stdin,format,arglist));
_unlock_str2(0, stdin);
return(retval); }
----------------解决方案--------------------------------------------------------