I made a program about ~4k lines on my university's server with text editor Pico and gcc compiler. It works perfectly on their linux based server, but when I e-mail it to myself and then put it in Code Blocks and create the windows executable with MinGW, it crashes fairly quickly.
I thought it could be a stack overflow problem, but I believe I've successfully adjusted the stack size to 3 gigs (just for testing purposes), and it still fails.
Would anyone know an alternative to the windows executable? Could I possibly download something similar to what my school is using, so that it doesn't crash?
I know the details are vague, but that's the extent of what I know as of now. Of course, I could edit down my code, but as of now I'm not interested in trying that. (I'm guessing it wouldn't be just a quick fix.)