segmentation fault. please help!

segmentation fault. please help!
Last edited on
When I used to run linux, I got seg faults when I ran out of memory. This may be whats happening here.
I just did this same project the other week. If you are on unix you can use GDB to debug exactly where the seg fault is happening. If you don't know about GDB a simple google search will help you a lot. The command backtrace within GDB will show you what you need to know. Also compile with -g to show line numbers
I'm not on a unix.
Use another debugger than. What IDE are you using? It might have a built-in debugger you can employ.
Topic archived. No new replies allowed.