On Tue, Aug 15, 2006 at 02:52:46AM -0700, levent ah wrote:

> libraries which end with .h belong to C not to C++?

Libraries usually have a suffix of .lib or .a.  Files with a suffix of
.h are "header" files and can be used in both C and C++, but not all
header files have a .h suffix.  Some have no suffix.

> for instance iomanip.h to setpreciese and setw,we should say
> #include<iomanip.h> or just #include<iomanip>

It depends which C++ standard your compiler suite adheres to.

#include <iomanip> is required for use with compiler suites that adhere
to ISO/IEC 14882:1998.  Some compiler suites, eg. Borland Turbo C++ 3.x,
don't adhere to ISO/IEC 14882:1998, predating it by many years.


To unsubscribe, send a blank message to <mailto:[EMAIL PROTECTED]>. 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/c-prog/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to