4 ms·
Because while(1) evaluates to a constant, which can sometimes be a bug and thus, some compilers emit a warning. http://msdn.microsoft.com/en-us/library/6t66728
by sclangdon 14y ago
Because while(1) evaluates to a constant, which can sometimes be a bug and thus, some compilers emit a warning.
http://msdn.microsoft.com/en-us/library/6t66728h%28v=vs.80%29.aspx http://msdn.microsoft.com/en-us/library/6t66728h%28v=vs.80%2...
http://stackoverflow.com/questions/3490823/why-msvc-generates-warning-c4127-whan-constant-is-used-in-while-c http://stackoverflow.com/questions/3490823/why-msvc-generate...