C and C++ header files

Home > Preview

The flashcards below were created by user geschw66 on FreezingBlue Flashcards.


  1. strcmp ( )
    <string.h> or <cstring> (C++)
  2. strlen ( )
    <string.h> or <cstring> (C++)
  3. strcpy ( )
    <string.h> or <cstring> (C++)
  4. malloc()
    <stdlib.h>
  5. calloc()
    <stdlib.h>
  6. free( )
    <stdlib.h>
  7. atoi()
    <stdlib.h>
  8. void reverse( BidirIt first, BidirIt last )
    <algorithm>
  9. void swap( T& a, T& b )
    <algorithm>
  10. const T& max( const T& a, const T& b );
    <algorithm>
  11. InputIt find( InputIt first, InputIt last, const T& value );
    <algorithm>
  12. pop() for a queue.
    <queue>
  13. push() for a queue.
    <queue>
  14. front()  for a queue.
    <queue>
  15. back() for a queue
    <queue>
  16. abs()
    <cmath>
  17. sin( float|double| long double arg );
    <cmath>
  18. pow( float|double|long double base, float|double|long double exp )
    <cmath>
  19. ceil( float|double|long double arg )
    <cmath>
  20. isalpha()
    <cctype> (C++) or <ctype.h> (C)
  21. isdigit()
    <cctype> (C++) or <ctype.h> (C)
  22. isalphanum()
    <cctype> (C++) or <ctype.h> (C)
  23. open() for file operations.
    <fstream>
  24. close() for file operations.
    <fstream>
  25. setw()
    <iomanip>
  26. write() for file operations
    <ofstream inherited from <ostream>
  27. read() for file operations
    <ifstream>
  28. peek( ) for file operations
    <ifstream>
  29. setprecision(int precision)
    <iomanip>
  30. std::left and std::right
    <ios>

Card Set Information

Author:
geschw66
ID:
333327
Filename:
C and C++ header files
Updated:
2017-08-07 04:02:49
Tags:
Computer computer programing Science
Folders:

Description:
match the function with the correct #include preprocessor directive or library.
Show Answers:

Home > Flashcards > Print Preview