quakefiend420
Lifer
- Aug 26, 2004
- 14,685
- 1
- 76
Originally posted by: AccruedExpenditure
Myself... 2 weeks for participating in S P I D E R chaining... it was lame cause all I said was S... it could have meant S anything =P
you?
Originally posted by: no0b
int n=0;
bool locked=false;
while(locked=false)
{
n=n++;
cout<<n<<endl;
}
It also results in an infinite loop due to the bolded line above. I give him an F.Originally posted by: Kyteland
If I was your TA for CompSci 101 I would give you a C- on this project.Originally posted by: no0b
int n=0;
bool locked=false;
while(locked=false)
{
n=n++;
cout<<n<<endl;
}
n=n++;
I mean, come on....
Originally posted by: Kyteland
Originally posted by: no0b
int n=0;
bool locked=false;
while(locked=false)
{
n=n++;
cout<<n<<endl;
}
If I was your TA for CompSci 101 I would give you a C- on this project.
n=n++;
I mean, come on....
Originally posted by: her209
It also results in an infinite loop due to the bolded line above. I give him an F.Originally posted by: Kyteland
If I was your TA for CompSci 101 I would give you a C- on this project.Originally posted by: no0b
int n=0;
bool locked=false;
while(locked=false)
{
n=n++;
cout<<n<<endl;
}
n=n++;
I mean, come on....
It's supposed to. Are you telling me AccruedExpenditure expects this thread to ever end?Originally posted by: her209
It also results in an infinite loop due to the bolded line above. I give him an F.Originally posted by: Kyteland
If I was your TA for CompSci 101 I would give you a C- on this project.Originally posted by: no0b
int n=0;
bool locked=false;
while(locked=false)
{
n=n++;
cout<<n<<endl;
}
n=n++;
I mean, come on....
Originally posted by: Kyteland
It's supposed to. Are you telling me AccruedExpenditure expects this thread to ever end?Originally posted by: her209
It also results in an infinite loop due to the bolded line above. I give him an F.Originally posted by: Kyteland
If I was your TA for CompSci 101 I would give you a C- on this project.Originally posted by: no0b
int n=0;
bool locked=false;
while(locked=false)
{
n=n++;
cout<<n<<endl;
}
n=n++;
I mean, come on....
Still, I would have used 'while (1)' instead of declaring a variable.
// Count from 1 to infinity
int n=0;
while(1)
{
cout<<++n<<endl;
}
*bows*Originally posted by: BigJ
Nice use of the ++n. Points awarded for style.
