Developer community
0 votes
35 views
asked by Geek (15.3k points) 17 40 60 | 35 views

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 by Guru (39.1k points) 10 22 34

Related questions

0 votes
1 answer
asked by smith Geek (15.3k points) 17 40 60 | 20 views
0 votes
1 answer
asked by albertina Geek (15.7k points) 5 9 21 | 84 views
+1 vote
1 answer
0 votes
1 answer
asked by sara Guru (24.6k points) 29 51 78 | 17 views
0 votes
1 answer
asked by sara Guru (24.6k points) 29 51 78 | 46 views
Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true

Categories


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

3.8k questions

4k answers

117 comments

10.7k users

3,751 questions
4,046 answers
117 comments
10,709 users