".....exe stopped woking"!!

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rola248
    New Member
    • Jul 2009
    • 8

    ".....exe stopped woking"!!

    hi,
    after compiling my program and having no errors or warnings,and when running it i get this message:"main.e xe has stopped working"....
    i can't fix this problem,,,can anyone help plz????
  • Banfa
    Recognized Expert Expert
    • Feb 2006
    • 9067

    #2
    There is certainly an error in your code. Just because it compiles does not mean it works.

    Did you have the compiler set to maximum warnings when you compiled?

    Examine your code for the errors in it, set compiler warnings to maximum, use a static analysis tool.

    Comment

    • grayMist
      New Member
      • Feb 2010
      • 12

      #3
      the "stopped working" popup in windows usually occurs due to a segmentation fault in the program.

      just check if you are handling your memory properly . i.e. If you are using pointers
      then they are pointing where they should . Or check for NULL pointer access .
      These are just for a start. But do look at your memory access carefully.

      Comment

      Working...