Run ❯
Get your
own
website
❯
Run Code
Ctrl+Alt+R
Change Orientation
Ctrl+Alt+O
Change Theme
Ctrl+Alt+D
Change Language
Go to Spaces
Ctrl+Alt+P
#include
#include
using namespace std; int main() { bool fileFound = false; try { if (!fileFound) { throw runtime_error("Could not find the file"); } cout << "Reading the file"; } catch (const runtime_error& e) { cout << e.what(); } return 0; }
Could not find the file