The setvbuf approach also "works" for stdin though the MS docs say:
Though it hasn't been enforced in any way since at least VC6.Originally Posted by http://msdn.microsoft.com/en-us/library/86cebhfs(VS.100).aspx
The setvbuf approach also "works" for stdin though the MS docs say:
Though it hasn't been enforced in any way since at least VC6.Originally Posted by http://msdn.microsoft.com/en-us/library/86cebhfs(VS.100).aspx