I\'ve been using C++ for a few years, and today I saw some code, but how can this be perfectly legal?
int main(int argc, char **argv) { size_t size;
It is valid only in C99. Next time you may try checking your code in a reliable compiler.