Hi, Aaron, I think you are getting segfault because you declare str as a const and then you try to assign a value to it.... isnīt it? Regards, Fabricio