So I want to handle exceptions, for example an std:out_of_range exception. But how do I do this? I am already using try & catch.
This happens when I run make. Where do I add the -fexceptions?
c:/Users/0/Desktop/3DSProjects/BTC/source/main.cpp: In function 'void ApplyTheme
(std::string)':
c:/Users/0/Desktop/3DSProjects/BTC/source/main.cpp:47:9: error: exception handli
ng disabled, use -fexceptions to enable
catch (...) {
^
(std::string)':
c:/Users/0/Desktop/3DSProjects/BTC/source/main.cpp:47:9: error: exception handli
ng disabled, use -fexceptions to enable
catch (...) {
^