Maybe this is old news, maybe it's no news, but I find it odd that this program compiles at all:
Code:
#include <string>
int main() {
bool single = true;
if (index >= 0 && single)
printf("here %d\n",index);
else
printf("not here\n");
return 0;
}
being that I haven't defined "index" anywhere. (and also haven't included stdio, but I guess that gets included in string).
maybe this is a heads up or maybe someone can enlighten me as to why this works.