The header file that you must #include to have access to the Standard Library string class is

a. C-string
b. string.h
c. string
d. String.h
e. None of the above


c)
Explanation: There is no .h extension on C++ header files, nor the ones that C++ has inherited from C and then converted. C++ uses the header. The string.h include file is header file used by C++ prior to the C++ Standard. It is still provided by some C++ compilers for backward compatibility but its use is discouraged. String.h is an outdated header for a proprietary string library.

Computer Science & Information Technology

You might also like to view...

Read a series of numbers, and determine and display the largest number. The first num- ber read indicates how many numbers should be processed.

What will be an ideal response?

Computer Science & Information Technology

List and describe three RF site tuning settings.

What will be an ideal response?

Computer Science & Information Technology

Which option affects the speed at which a character repeats after the repeat delay?

A) Duplicate B) Keyboard rate C) Repeat rate D) Key rate

Computer Science & Information Technology

How do you delete an unwanted event-handling method?

What will be an ideal response?

Computer Science & Information Technology