Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Whats the difference between and headers?

difference headers
0
Posted

Whats the difference between and headers?

0

[Recently changed to and misc wordsmithing thanks to Stan Brown (on 7/00). Click here to go to the next FAQ in the “chain” of recent changes.] The headers in ISO Standard C++ don’t have a .h suffix. This is something the standards committee changed from former practice. The details are different between headers that existed in C and those that are specific to C++. The C++ standard library is guaranteed to have 18 standard headers from the C language. These headers come in two standard flavors, and (where xxx is the basename of the header, such as stdio, stdlib, etc). These two flavors are identical except the versions provide their declarations in the std namespace only, and the versions make them available both in std namespace and in the global namespace. The committee did it this way so that existing C code could continue to be compiled in C++. However the versions are deprecated, meaning they are standard now but might not be pa

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123