okay i have made some collision code for pong but when i test it my pong crashes just as it opens and it had no error codes so i dont't know how to google a solution to the problem thus i am un able to work out where i went wrong so i need a hand in locating the problem, i must of done something wrong for it to crash but i cant see what i did. Here is the code i made for the collision.
Why does programming have to be so hard to understand >.<
Can't you just test your collision function with a bunch of data to see if it works? The code you have posted will not be able to crash the program by itself. Best is to run your program through a debugger to see what is going wrong.
i am running though the debugger in VS 2010 and it contains no errors just crashes. well it opens for a couple of second then ends and i cant locate the error cause none of the code is wrong in a sense....i might have something terminating or doing something it shouldn't do but its not telling me so i am at a loss as to what i should do and it only started to crash after i added this code....so the it has to be in there.