|
>> Be sure to use the most standard method, then only while (getchar ()! = '\n');
This is not true. This method may be even worse, because changing the platform may cause unexplained waiting and lease congestion, huh, huh.
Because standard carriage returns / line feeds / spaces / tabs are delimiters for scanf, they should be ignored.
But I do n’t know what Microsoft is doing. This is not the case since the DOS era. Instead, it makes scanf read a newline, which makes people lose their temper. |
|