3 ms·
A little-known operator in C++, the "goes to"-operator: int i=4; while(i --> 0) { cout << i; }
by thomasbk 14y ago
A little-known operator in C++, the "goes to"-operator:
int i=4;
while(i --> 0) { cout << i; }
- dysoco 14y agoActually that's just decrementing and comparing to 0: while((i--) > 0)