Thx man! I used the LC atan2 function and everything works fine now. What was the problem? Was it dividing by 0 when it reversed the angles?


Code:
void main()
{
    cout << "I am MrCode,";
    cout << "hear me roar!";
    system("PAUSE");
}