Earlier quoted context omitted.
I'm a new user, is this a good time to plug my project that hopes to put 200 GB on a piece of paper? https://sourceforge.net/u/acaiblue44/blog/2024/09/gigapaper0...
> I learned that I can't use file i/o in a function outside the main, which is an unspoken rule that no tutorial elucidated. is for sure not true, that would be crazypants
I have no other explanation. At some point, having too many nested loops and variables causes segmentation faults, whereas less complex code functioned without error. I needed to have certain things performed, and it only functioned in the main.