Ok idk if the title is correct 'cause when I run it in the Bash shell it shows Segmentation fault (core dumped) and
when I run in Fish shell it shows fish: Job 1, 'build/main' terminated by signal SIGSEGV (Address boundary error).
My code is very simple, I was just trying to make an ascii game, I didn't even started well yet.
My code is here: https://github.com/pandasoli/simple-cpp-rpg
I'm a C++ beginner so I got no idea what this error's.
But Ik that the error probably is in character.cpp line 33 and 38, 'cause when I comment them or just put a cout the program runs normally.