
Ansi and Turbo-C++ Header Files 839
Explanation: The above program is similar to the previous one. Here, the keyword cdecl is
used to apply the calling convention of C.
21.13 ANSI AND TURBO-C++ HEADER FILES
ANSI / ISO (“Include”) Files
The ANSI/ISO committee has introduced a new style for header files: the header file now without
the extension .h.
Example
#include<iostream>
#include<vector>
In previous examples, we frequently used the header files given above. However, the con-
ventional method <iostream.h> is also valid. A few header files are renamed; for example,
<limit.h> with <climit>, math.h> with <cmath>, <stdio.h> with <cstdio>, and so on. Only ...