Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/24/02 17:56
Read: times


 
#27890 - RE: For Loop Question
A 'C' Compiler should break down the elements of the 'for' statement into logical parts.

Assuming the following items are to be used...

#define X x=0
#define Y x<5
#define Z x++
#define F x+=2

The following 'for' statement...

for (X; Y; Z)
{
F;
}


is identical (logically) with...

X;
while (Y) {
F;
Z;
}


List of 12 messages in thread
TopicAuthorDate
For Loop Question            01/01/70 00:00      
RE: For Loop Question            01/01/70 00:00      
RE: For Loop Question            01/01/70 00:00      
RE: For Loop Question            01/01/70 00:00      
RE: For Loop Question            01/01/70 00:00      
RE: For Loop Question            01/01/70 00:00      
RE: For Loop Question            01/01/70 00:00      
RE: For Loop Question            01/01/70 00:00      
RE: For Loop Question            01/01/70 00:00      
RE: For Loop Question            01/01/70 00:00      
RE: For Loop Question            01/01/70 00:00      
RE: For Loop Question            01/01/70 00:00      

Back to Subject List