Perhaps I am just mental, but when I try to run [C++] Segmentation Fault - Pastebin.com , I get seg faults whenever I try to call the line 219 in the function getFileName. Did I do this correctly? I hope this is the correct place to post, and if not, I apologize.