search
Login

Categories


C Books Guide and List
C++ Books Guide and List
Best Java Books

3.8k questions

4k answers

117 comments

10.7k users

0 votes
36 views
asked Geek 15.3k points 16 41 63

1 Answer

0 votes
The #include pre-processor directive is seen in three different forms for standard library header files:

#include "math.h"

#include <math.h>

#include <cmath>

1) The C++ specific header files were declared of the form <header>, dropping the earlier syntax of <header.h>

2) The C library files included in ANSI C++ were prefixed with the character 'c' and the .h suffix was dropped

3) The C library files included in ANSI C++ usually implement their functions as templates rather than macros.

4) All names in both sets of these files were placed within the std namespace
answered Guru 39.1k points 10 21 33

Related questions

0 votes
1 answer 21 views
21 views
asked smith Geek 15.3k points 16 41 63
0 votes
1 answer 86 views
86 views
When should I use references, and when should I use pointers?
asked albertina Geek 15.7k points 5 9 21
1 vote
1 answer 27 views
0 votes
1 answer 16 views
16 views
asked sara Guru 24.6k points 29 52 81
0 votes
1 answer 50 views
...