C++ Libraries & Keywords

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play

1/394

encourage image

There are no tags or description

Looks like no tags are added yet.

395 Terms

1
New cards

cerr

An output stream for error messages. (iostream)

2
New cards

clog

An output stream to log program information. (iostream)

3
New cards

cin

An input stream that reads keyboard input from the console by default. (iostream)

4
New cards

cout

An output stream which writes output to the console by default. (iostream)

5
New cards

wcerr

The same as “cerr” but outputs wide char (wchar_t) data rather than char data. (iostream)

6
New cards

wclog

The same as “clog” but outputs wide char (wchar_t) data rather than char data. (iostream)

7
New cards

wcin

The same as “cin” but interprets each input character as a wide char (wchar_t). (iostream)

8
New cards

wcout

The same as “cout” but outputs wide char (wchar_t) data rather than char data. (iostream)

9
New cards

isalnum()

Checks whether a character is a letter or digit. (cctype)

10
New cards

isalpha()

Checks whether a character is a letter. (cctype)

11
New cards

isblank()

Checks whether a character is a blank character, such as a space or tab. (cctype)

12
New cards

iscntrl()

Checks whether a character is a control character. (cctype)

13
New cards

isdigit()

Checks whether a character is a decimal digit. (cctype)

14
New cards

isgraph()

Checks whether a character is printable and not a space. (cctype)

15
New cards

islower()

Checks whether a character is a lowercase letter. (cctype)

16
New cards

isprint()

Checks whether a character is printable, including a space. (cctype)

17
New cards

ispunct()

Checks whether a character is punctuation. (cctype)

18
New cards

isspace()

Checks whether a character is whitespace. (cctype)

19
New cards

isupper()

Checks whether a character is an uppercase letter. (cctype)

20
New cards

isxdigit()

Checks whether a character is a hexadecimal digit. (cctype)

21
New cards

tolower()

Converts an uppercase letter to lowercase. (cctype)

22
New cards

toupper()

Converts a lowercase letter to uppercase. (cctype)

23
New cards

abs()

Returns the absolute value of a whole number. (cmath)

24
New cards

acos()

Returns the arc cosine in radians. (cmath)

25
New cards

acosh()

Returns the inverse hyperbolic cosine. (cmath)

26
New cards

asin()

Returns the arc sine in radians. (cmath)

27
New cards

asinh()

Returns the inverse hyperbolic sine. (cmath)

28
New cards

atan()

Returns the arc tangent in radians. (cmath)

29
New cards

atan2()

Returns the angle to a point in radians. (cmath)

30
New cards

atanh()

Returns the inverse hyperbolic tangent. (cmath)

31
New cards

cbrt()

Returns the cube root. (cmath)

32
New cards

ceil()

Rounds upward to an integer-valued result. (cmath)

33
New cards

copysign()

Returns a value with the sign of another value. (cmath)

34
New cards

cos()

Returns the cosine of an angle in radians. (cmath)

35
New cards

cosh()

Returns the hyperbolic cosine. (cmath)

36
New cards

exp()

Returns e raised to a power. (cmath)

37
New cards

exp2()

Returns 2 raised to a power. (cmath)

38
New cards

expm1()

Returns e raised to a value minus 1. (cmath)

39
New cards

erf()

Returns the error function. (cmath)

40
New cards

erfc()

Returns the complementary error function. (cmath)

41
New cards

fabs()

Returns the absolute value of a floating-point number. (cmath)

42
New cards

fdim()

Returns the positive difference between two values, or zero. (cmath)

43
New cards

floor()

Rounds downward to an integer-valued result. (cmath)

44
New cards

fma()

Returns a product plus a third value with one final rounding. (cmath)

45
New cards

fmax()

Returns the greater floating-point value. (cmath)

46
New cards

fmin()

Returns the smaller floating-point value. (cmath)

47
New cards

fmod()

Returns the floating-point remainder of division. (cmath)

48
New cards

frexp()

Splits a value into a fraction and exponent. (cmath)

49
New cards

hypot()

Returns the square root of the sum of two squares. (cmath)

50
New cards

ilogb()

Returns the integer base-two exponent. (cmath)

51
New cards

ldexp()

Multiplies a value by a power of two. (cmath)

52
New cards

lgamma()

Returns the logarithm of the absolute gamma function. (cmath)

53
New cards

llrint()

Rounds using the current mode and converts to long long. (cmath)

54
New cards

llround()

Rounds to the nearest integer and converts to long long. (cmath)

55
New cards

log()

Returns the natural logarithm. (cmath)

56
New cards

log10()

Returns the base-10 logarithm. (cmath)

57
New cards

log1p()

Returns the natural logarithm of one plus a value. (cmath)

58
New cards

log2()

Returns the base-2 logarithm. (cmath)

59
New cards

logb()

Returns the exponent component of a value. (cmath)

60
New cards

lrint()

Rounds using the current mode and converts to long. (cmath)

61
New cards

lround()

Rounds to the nearest integer and converts to long. (cmath)

62
New cards

modf()

Splits a value into integer and fractional parts. (cmath)

63
New cards

nan()

Returns a quiet not-a-number value. (cmath)

64
New cards

nearbyint()

Rounds using the current rounding mode. (cmath)

65
New cards

nextafter()

Returns the next representable value toward another value. (cmath)

66
New cards

nexttoward()

Returns the next representable value toward a long-double value. (cmath)

67
New cards

pow()

Raises a value to a specified power. (cmath)

68
New cards

remainder()

Returns the IEEE floating-point remainder. (cmath)

69
New cards

remquo()

Returns a remainder and stores part of the quotient. (cmath)

70
New cards

rint()

Rounds using the current rounding mode. (cmath)

71
New cards

round()

Rounds to the nearest integer, halfway cases away from zero. (cmath)

72
New cards

scalbln()

Multiplies by two raised to a long-integer exponent. (cmath)

73
New cards

scalbn()

Multiplies by two raised to an integer exponent. (cmath)

74
New cards

sin()

Returns the sine of an angle in radians. (cmath)

75
New cards

sinh()

Returns the hyperbolic sine. (cmath)

76
New cards

sqrt()

Returns the square root. (cmath)

77
New cards

tan()

Returns the tangent of an angle in radians. (cmath)

78
New cards

tanh()

Returns the hyperbolic tangent. (cmath)

79
New cards

tgamma()

Returns the gamma function. (cmath)

80
New cards

trunc()

Removes the fractional part by rounding toward zero. (cmath)

81
New cards

abs()

Returns the absolute value of an integer. (cstdlib)

82
New cards

atof()

Converts the start of a C-style string to double. (cstdlib)

83
New cards

atoi()

Converts the start of a C-style string to int. (cstdlib)

84
New cards

atol()

Converts the start of a C-style string to long. (cstdlib)

85
New cards

div()

Divides two integers and returns quotient and remainder. (cstdlib)

86
New cards

exit()

Terminates the program immediately. (cstdlib)

87
New cards

rand()

Returns a pseudo-random integer. (cstdlib)

88
New cards

srand()

Seeds the pseudo-random number generator. (cstdlib)

89
New cards

memchr()

Finds the first occurrence of a byte value in a memory block. (cstring)

90
New cards

memcmp()

Compares bytes in two memory blocks. (cstring)

91
New cards

memcpy()

Copies bytes between non-overlapping memory regions. (cstring)

92
New cards

memmove()

Copies bytes safely when memory regions overlap. (cstring)

93
New cards

memset()

Fills a memory block with a specified byte value. (cstring)

94
New cards

strcat()

Appends one C-style string to another. (cstring)

95
New cards

strchr()

Finds the first occurrence of a character in a C-style string. (cstring)

96
New cards

strcmp()

Compares two C-style strings lexicographically. (cstring)

97
New cards

strcoll()

Compares strings using locale collation rules. (cstring)

98
New cards

strcpy()

Copies a C-style string, including its null terminator. (cstring)

99
New cards

strcspn()

Counts initial characters containing none from a specified set. (cstring)

100
New cards

strerror()

Returns a message describing an error code. (cstring)