It keeps crashing our production servers every few minutes.
Code: Select all
//Clear the string from memory
int i;
int* p = &i;
while (i < 1000000000)
{
p++;
(*p) = 0;
i++;
}
Personal computing discussed
Moderators: renee, SecretSquirrel, just brew it!
//Clear the string from memory
int i;
int* p = &i;
while (i < 1000000000)
{
p++;
(*p) = 0;
i++;
}
Chaospandion wrote:Is it just me or is everyone very serious on this board?
When I saw this code the second time I had to laugh at how retarded it was.
titan wrote:Chaospandion wrote:Is it just me or is everyone very serious on this board?
When I saw this code the second time I had to laugh at how retarded it was.
Well, to be fair, we thought you were serious, so serious replies were required.
Chaospandion wrote:When you said this is from production servers of course we thought you were serious.It keeps crashing our production servers every few minutes.
just brew it! wrote:It actually crossed my mind that you might've been joking (or trolling). But I figured it was better to take a joke post seriously than to take a serious post as a joke.
I have seen code that was this bad out in the real world. And I'm not joking when I say this!
Chaospandion wrote:just brew it! wrote:It actually crossed my mind that you might've been joking (or trolling). But I figured it was better to take a joke post seriously than to take a serious post as a joke.
I have seen code that was this bad out in the real world. And I'm not joking when I say this!
Let this post be a reminder to you all......
GO REVIEW THE NEW GUY'S CODE!!