By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,571 Members | 1,265 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,571 IT Pros & Developers. It's quick & easy.

C standard library header files in C++

P: n/a
For new C++ code which uses the C standard library, there's a new
convention for includes, for example, <stdio.h> becomes <cstdio>.

What happens with some of the more obscure headers such as <termios.h>?
Where can I find a list of headers which should be accessed using the
newer format?

--
Simon Elliott http://www.ctsn.co.uk
Jul 23 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Simon Elliott wrote:
For new C++ code which uses the C standard library, there's a new
convention for includes, for example, <stdio.h> becomes <cstdio>.

What happens with some of the more obscure headers such as <termios.h>?
Where can I find a list of headers which should be accessed using the
newer format?


The list of standard headers exists in the Standard. Get yourself a copy.
<termios.h> is not a standard header. Whoever makes it should tell you if
you need to change it. AFAICT none of non-standard headers fall under the
'stick the c in front of the name and drop the dot-h' scheme.

V
Jul 23 '05 #2

P: n/a
Simon Elliott wrote:
For new C++ code which uses the C standard library, there's a new
convention for includes, for example, <stdio.h> becomes <cstdio>.

What happens with some of the more obscure headers such as <termios.h>?
Where can I find a list of headers which should be accessed using the
newer format?


Here's one place:

http://msdn.microsoft.com/library/de...0C++%20headers
Jul 23 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.