>>  however, if gcc 2.95 supports cstdlib and co, probably we should switch
>>  to such headers... also because, if I'm not wrong, if the compiler
>>  cannot handle cstdlib headers it won't handle iostream (without the .h)
>>  either, am I right?

> I will try that on GCC 2.96 tomorrow and let you know.

It works:

[EMAIL PROTECTED] cat hello.cpp
#include <cstdio>

using namespace std;

int main (void)
{
  printf("Hello world\n");
  return 0;
}
[EMAIL PROTECTED] g++ --version
2.96
[EMAIL PROTECTED] g++ hello.cpp
[EMAIL PROTECTED] ./a.out
Hello world
[EMAIL PROTECTED]

Happy hacking,
Debarshi
-- 
"From what we get, we can make a living; what we give, however, makes a life."
    -- Arthur Ashe


_______________________________________________
Help-gengetopt mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gengetopt

Reply via email to