JavaScript is required

A file stream is an extension of a ___ stream.

A.

console

B.

windows

C.

none of above

Trả lời:

Đáp án đúng: A


Trong C++, fstream (file stream) kế thừa từ các lớp iostream (input/output stream). fstream cung cấp các phương tiện để đọc và ghi dữ liệu vào các tập tin. Do đó, một file stream là một sự mở rộng của một luồng I/O thông thường, không phải là console stream hay windows stream.

Câu hỏi liên quan