C++Guns – RoboBlog

17.09.2022

C++ Guns: throw and catch all standard exceptions for fun

Filed under: Allgemein — Tags: — Thomas @ 19:09

This example throw and catch all standard exceptions just for fun exception list from https://en.cppreference.com/w/cpp/error/exception sorted after C++ Standard searching a stack trace? look at https://en.cppreference.com/w/cpp/utility/basic_stacktrace $ ./a.out All exceptions which was thrown was catched

07.09.2022

C++ Guns: Streams display the format flags

Filed under: Allgemein — Tags: — Thomas @ 12:09

Display which format flags are currently set e.g. fixed, scientific, dec, hex Example output dec fixed skipws https://en.cppreference.com/w/cpp/io/ios_base/flags

Powered by WordPress