Knowledge baseExam Center
ENEnglish
Choose language13

CKTIS / Knowledge base

Knowledge base

Programming syntax, operators and concepts. Find an explanation, explore an example and return to learning.

Entries: 5788

C++

std::fixed — fixed-point stream formatting

std::fixed selects fixed-point formatting for floating-point values in a stream. Together with std::setprecision(n), it specifies the number of digits after the decimal separator, and the setting remains active for subsequent operations.

Basic · C++23; repository compiler flag, production runtime not attested
C++

std::format_error — formatting error exception

std::format_error, declared in <format>, reports errors from the formatting library. Learn the distinction between a runtime exception and compile-time rejection of an invalid format string, and how to catch this exception safely.

Intermediate · C++23; repository compiler flag, production runtime not attested
C++

std::future_status — the result of a timed wait

std::future_status is a scoped enumeration from <future>, returned by wait_for() and wait_until(). It distinguishes a ready result, an expired timeout, and deferred execution. The status itself neither retrieves the value nor tells you whether the computation completed without an exception.

Intermediate · C++23; repository compiler flag, production runtime not attested