DEV c++ , program error after compilation

2012-07-17
2013-07-17
  • mistarbinay
    mistarbinay
    2012-07-17

    First time ,after I compile and run my program it gave me an error that it
    didn't found dbgeng.dll file. Now I have a fresh instal of windows Xp, after
    compilation it still gives me an error but it's not specific.
    In my code I have those lines :
    int Dx = abs( x2 - x1);
    int Dy = abs( y2 - y1);
    int S = Dy / Dx ;

    If i remove the third line , the program works, with the third line ,it
    crashes.
    I can't understand why it doesn't work.In my program I'm using winAPI and
    openGL is somehow related to those?

     
  • gina
    gina
    2013-07-17

    Post awaiting moderation.