//everything writes here is in one function
....
....
mTitle = btnTitle;
....
....
for(unsignedint i = 0; i <= mTitle.length(); i++)
//inside for it gives SIGSEGV error and the debugger says
// mTitle | <not accessible> | std::string
{
....
}
....
what might be the problem
if you need any further info i will provide it. the class and the function is so big so i didnt add everything here. just say if you need more of inside class
for(unsignedint i = 0; i <= mTitle.length(); i++)
//inside for it gives SIGSEGV error and the debugger says
// mTitle | <not accessible> | std::string
{
....
}