[Click] #include <cstdarg> vs. #include <stdarg.h>
Eddie Kohler
kohler at icir.org
Wed Aug 13 14:53:40 EDT 2003
> well, for C++ code it *is* the right thing to do. because all those
> things should live under the std namespace. the right thing to do (but
> a pain in the ass) is to change all standard library stuff to use std::
> in front, or put `using std;' at the top of files.
>
> although i know some people have strong feelings about namespaces...
Well, the <XXX.h> headers are equally standard in C++. I don't see any
important difference between
#include <cstdio>
using namespace std;
and
#include <stdio.h>
Do you remember if #include <stdio.h> caused problems on some relevant
platform?
Eddie
More information about the click
mailing list