for loop without index declaration
问题 So I declare a variable some where and initialize it. Now later on I need to use it to loop while its still positive so I need to decrement it. To me looping using a condition and a decrement calls for a for but for it we are missing the first part the initialization. But I don't need to initialize anything. So how do I go about that in a nice way. for (space = space; space > 0; space--)//my first way to do it but ide doesnt like it Second way: for (; space > 0; space--)//my friend