I do not contain my entire code, because of privacy reasons and personal requests. Problem on "cout << "unsignedssd intsdsd: << endl;" Bus Error. I changed random characters like debuges and unsignedssd so that the program would never think of them like debug and unsigned, but just for debugging the actual program later on, I found this.