Everytime i try to run my program is gets stuck, you know "mtm1.exe stop responding..."
and i get a "close program button" like it does when there is a SEGFAULT, thing is when i run it in debug its ok untill after the last line in main, the } after return 0, then it gives me:
No source available for "__mingw_CRTStartup() at 0x4010fd"
and if i keep holding down the F5 button (Step into) and it keeps giving me a variety of errors untill eventually it gives me an error message on the screen "Run control not available".
Tried running my program on my UBUNTU machine and it works fine.....
Im using windows by the way with MinGW and Eclipse CDT,
This is the startup code for the executable that then calls your main method. Unless you are trying to debug mingw startup code. there is no reason to step into this code. Just hit the Run button and your program will exit.