hi all
i was going through C++ programming language -Stroustrup. I am confused in the header files that are mentioned for C linkage and normal stdio.h files.
The documentation says the following.
i am not getting the purpose and difference between the two header files. Can anybody help me in understanding ?
Further reading was related to the extern "C" directive in the same book. I am not able to understand the same , if anybody can help me.
thanks in advance
sanjay
i was going through C++ programming language -Stroustrup. I am confused in the header files that are mentioned for C linkage and normal stdio.h files.
The documentation says the following.
Code:
//cstdio
namespace std {
void printf(const char*,...);
/*Std C function declaration here */
}
//stdio.h
#include <cstdio>
using namespace std;
i am not getting the purpose and difference between the two header files. Can anybody help me in understanding ?
Further reading was related to the extern "C" directive in the same book. I am not able to understand the same , if anybody can help me.
thanks in advance
sanjay