Friday 7 October 2011

Libraries

In C++ and other languages their are libraries which have extension ".h" and it is a collection of classes and functions.C++ Programming language has a vast library called the Standard Template Library(STL).Those libraries which are built in are called STL.We can also built are own libraries and we'll tell you later own that how to create your own libraries.C++ includes the C library as described by the 1990 ISO standard
Here are given some of the libraries to check out their use check and trace your own desired library.

C standard libraries

iostream                                      iostream.h            (input/output stream)
                                                   conio.h                (console input and output)
cstdio                                          stdio.h                 (standard input/output header)
cstdlib                                         stdlib.h                 (functions involving memory allocation)
cmath                                          math.h                 (basic mathematical operations)
cstring                                         string.h                 (string related & memory handling                                                                                      functions)
windows                                     windows.h              (commands related to windows)
fstream                                        fstream.h              (to save data on the hard rive)
ctime                                           time.h                   (to get time of PC)
cctype                                         ctype.h                 (to convert from small to capital and                                                                                    vice versa)


Syntex  :                    # include<name.h>  
                                              #include<iostream.h>
                                            OR
                                    #include<name>  
                                               #include<iostream>

No comments:

Post a Comment