Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

HAY GUYS WUT DO U THINK OF THIS

Name: Anonymous 2006-06-28 18:47


"On Wednesday, June 28, 2006 you asked the following question;

this loop:

while(*(string1++)=*(string2++));

when does it ends?

The following answer has just been sent to you;

It doesn't if this is in C++. You assigned string2 to string1. == is for comparisons. fuckin' n00b."

i lold

Name: Anonymous 2006-07-26 0:40

>>5

Good idea.  If the assignment didn't return anything, you couldn't chain them like so:

int a, b, c;
a = b = c = 0;

Long live the returned reference.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List