The following are functionally equivalent:
#include <cstdio>
using namespace std;
#include <stdio.h>
The standard C header files have corresponding C++ versions that prepend "c" to the name, and remove ".h" from the end. The C++ version
puts the symbols in the std namespace. The C++ version is preferred.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment