lavalamp comments on Positive Bias Test (C++ program) - Less Wrong
You are viewing a comment permalink. View the original post to see all comments and the full post content.
You are viewing a comment permalink. View the original post to see all comments and the full post content.
Comments (75)
4 out of 5 people fail this? Seriously? I'm having a really hard time believing that, I'm going to have to administer this test to people.
Visual Studio 2005 reports stack corruption after it exits, btw.
I believe that's because line 23 should be
bool mywrongtests [NUMTESTS+1];
(It's missing the "+1".)